Commit 8da561a6 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

packaging fixes

parent 4fa52d940b67
......@@ -5,12 +5,12 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-stamp
build-stamp:
build-stamp:
dh_testdir
python setup.py -q build
touch build-stamp
clean:
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
......@@ -26,6 +26,7 @@ install: build
dh_installdirs -i
python setup.py -q install --no-compile --prefix=debian/cubicweb-email/usr/
cp doc/*.html doc/*.txt debian/cubicweb-email/usr/share/doc/cubicweb-email/
rm -rf debian/cubicweb-book/usr/lib/python*
# Build architecture-independent files here.
......@@ -33,9 +34,6 @@ binary-indep: build install
dh_testdir
dh_testroot
dh_install -i
# dh_pycentral -i
# dh_python -i
# gzip -9 -c ChangeLog > changelog.gz
dh_installchangelogs -i
dh_installexamples -i
dh_installdocs -i
......@@ -44,13 +42,13 @@ binary-indep: build install
dh_compress -i -X.py -X.ini -X.xml -Xtest
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
# Build architecture-dependent files here.
binary-arch:
binary-arch:
binary: binary-indep
binary: binary-indep
.PHONY: build clean binary-arch binary-indep binary
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