Commit 2554f0ed authored by ale's avatar ale

use dh_python2

parent 18c575ee
......@@ -87,9 +87,9 @@ install: build
# libpam-sso
install -d $(CURDIR)/debian/libpam-sso/lib/security
cp -L $(CURDIR)/debian/ai-sso/lib/security/pam_sso.so \
cp -L $(CURDIR)/debian/ai-sso/lib/security/pam_sso.so.0.0.0 \
$(CURDIR)/debian/libpam-sso/lib/security/pam_sso.so
-rm -fr $(CURDIR)/debian/libpam-sso/lib
-rm -fr $(CURDIR)/debian/ai-sso/lib
......@@ -109,7 +109,8 @@ binary-arch: build install
# dh_installemacsen
# dh_installpam
# dh_installmime
dh_pysupport
# dh_pysupport
dh_python2 --no-guessing-versions
dh_installinit
# dh_installcron
# dh_installinfo
......
......@@ -21,4 +21,4 @@ clean-local:
$(PYTHON_SETUP_PY) clean --all
install-exec-local:
$(PYTHON_SETUP_PY) install --root=${DESTDIR}/// --prefix=$(prefix)
$(PYTHON_SETUP_PY) install --root=${DESTDIR}/// --prefix=$(prefix) --install-layout=deb
......@@ -12,4 +12,4 @@ clean-local:
$(PYTHON) setup.py clean --all
install-exec-local:
$(PYTHON) setup.py install --root=${DESTDIR}/// --prefix=$(prefix)
$(PYTHON) setup.py install --root=${DESTDIR}/// --prefix=$(prefix) --install-layout=deb
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment