Minimizing rules file.
bzr revid: p_christ@hol.gr-20101019095442-ahpmsub05uqsa5f9
This commit is contained in:
parent
6397dfdf4d
commit
dc5d0b6b52
|
@ -3,7 +3,7 @@ Section: net
|
|||
Priority: optional
|
||||
Maintainer: Debian Open Object Maintainers <open-object@lists.debian-maintainers.org>
|
||||
Uploaders: Daniel Baumann <daniel@debian.org>
|
||||
Build-Depends: debhelper (>= 7), python-dev, quilt
|
||||
Build-Depends: debhelper (>= 7.0.50~), python-dev, quilt (>= 0.46-7)
|
||||
Build-Depends-Indep: python-libxslt1, python-lxml, python-psycopg2
|
||||
Standards-Version: 3.8.3
|
||||
Homepage: http://www.openerp.com/
|
||||
|
|
|
@ -1,42 +1,14 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
SHELL := sh -e
|
||||
%:
|
||||
dh ${@} --with quilt
|
||||
|
||||
include /usr/share/quilt/quilt.make
|
||||
override_dh_auto_clean:
|
||||
dh_auto_clean
|
||||
|
||||
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
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp
|
||||
|
||||
python setup.py clean
|
||||
rm -rf build openerp-server
|
||||
-find $(CURDIR) -type f -name "*.pyc" | xargs rm -f
|
||||
|
||||
dh_clean
|
||||
|
||||
build:
|
||||
|
||||
install: patch
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_prep
|
||||
dh_installdirs
|
||||
|
||||
override_dh_auto_install:
|
||||
python setup.py install --no-compile --prefix=$(CURDIR)/debian/openerp-server/usr
|
||||
|
||||
# Adjusting program location
|
||||
|
@ -50,26 +22,8 @@ install: patch
|
|||
# Removing double files
|
||||
rm -rf debian/openerp-server/usr/share/doc/openerp-server-*
|
||||
|
||||
binary: binary-indep
|
||||
|
||||
binary-arch:
|
||||
|
||||
binary-indep: install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
override_dh_installchangelogs:
|
||||
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
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
.PHONY: clean build install binary binary-arch binary-indep
|
||||
override_dh_installinit:
|
||||
dh_installinit --update-rcd-params='defaults 21'
|
||||
|
|
Loading…
Reference in New Issue