diff options
| author | P. Christeas <p_christ@hol.gr> | 2009-08-24 22:45:22 +0300 |
|---|---|---|
| committer | P. Christeas <p_christ@hol.gr> | 2009-08-24 22:45:22 +0300 |
| commit | ee17b997a37ad98ce1f2353d51b56c6934e70240 (patch) | |
| tree | 55680ef7c9ea0192e868d38ca59dc9988dd9b1b4 /debian/rules | |
| parent | 1e0de079ac4783434cb82158336a9cd3eb901363 (diff) | |
| parent | b8f073632d520190cae704aacf3dd536bb33b0c9 (diff) | |
Merge commit 'Debian/debonly' into xrg, build for Debian
Conflicts:
debian/changelog
debian/control
debian/rules
bzr revid: p_christ@hol.gr-20090824194522-tjcgw3u14ufirqo5
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index f3a9000e712..1e598f4d580 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,20 @@ #!/usr/bin/make -f -# include /usr/share/quilt/quilt.make +SHELL := sh -e + + +update: + # Needs: shell-helper + + cd debian; \ + debconf-create-preseed *.config; \ + + for FILE in debian/*.preseed; \ + do \ + grep -v preseed $$FILE > $$FILE.tmp; \ + mv $$FILE.tmp $$FILE; \ + echo $$FILE >> debian/`basename $$FILE .preseed`.examples; \ + done clean: clean-patched unpatch clean-patched: patch @@ -9,10 +23,11 @@ clean-patched: patch rm -f build-stamp NO_CHECK_MODULES=1 python setup.py clean - rm -rf build openerp-server -find $(CURDIR) -type f -name "*.pyc" | xargs rm -f + debconf-updatepo + dh_clean build: @@ -45,8 +60,10 @@ binary-indep: install dh_testroot dh_installchangelogs doc/Changelog dh_installdocs + dh_installexamples dh_install dh_installinit --update-rcd-params='defaults 21' + dh_installdebconf dh_lintian dh_link dh_compress |
