1 #!/usr/bin/make -f 2 3 export DH_OPTIONS=-v 4 export DH_VERBOSE=1 5 6 %: 7 dh $@ 8 9 override_dh_install: 10 dh_install 11 find debian/kolab-webadmin/usr/share/kolab-webadmin/ -type f -name "*.enterprise" -exec rm -v {} \; 12 # Rename the Apache conf file 13 mv debian/kolab-webadmin/etc/kolab-webadmin/kolab-webadmin.conf debian/kolab-webadmin/etc/kolab-webadmin/apache.conf 14 # Some PHP files seem to be executable 15 find debian/kolab-webadmin/usr/share/kolab-webadmin/lib -type f -name "*php" -perm +1 -print0 | xargs -r0 chmod -x 16 17 override_dh_compress: 18 dh_compress -X.sql 19