paul@0 | 1 | #!/usr/bin/make -f |
paul@0 | 2 | # -*- makefile -*- |
paul@0 | 3 | # Sample debian/rules that uses debhelper. |
paul@0 | 4 | # This file was originally written by Joey Hess and Craig Small. |
paul@0 | 5 | # As a special exception, when this file is copied by dh-make into a |
paul@0 | 6 | # dh-make output file, you may use that output file without restriction. |
paul@0 | 7 | # This special exception was added by Craig Small in version 0.37 of dh-make. |
paul@0 | 8 | |
paul@0 | 9 | # Uncomment this to turn on verbose mode. |
paul@0 | 10 | export DH_VERBOSE=1 |
paul@0 | 11 | |
paul@0 | 12 | %: |
paul@0 | 13 | dh $@ --with python2 --with autotools-dev --with autoreconf |
paul@0 | 14 | |
paul@0 | 15 | override_dh_auto_test: |
paul@0 | 16 | dh_auto_test || echo ???ignoring test failure??? |
paul@0 | 17 | |
paul@0 | 18 | override_dh_install: |
paul@0 | 19 | #dh_install --list-missing |
paul@0 | 20 | dh_install |
paul@0 | 21 | if [ -x "$$(which univention-install-config-registry 2>/dev/null)" ]; then \ |
paul@0 | 22 | mkdir -p $(CURDIR)/debian/pykolab/usr/share/pyshared/pykolab/ucs/ ; \ |
paul@0 | 23 | cp -a ucs/listener.py $(CURDIR)/debian/pykolab/usr/share/pyshared/pykolab/ucs/listener.py ; \ |
paul@0 | 24 | fi |
paul@0 | 25 | dh_installdebconf |
paul@0 | 26 | |