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 rm -rf debian/kolab-webadmin/usr/share/kolab-webadmin/lib/ext/ 15 # Some PHP files seem to be executable 16 find debian/kolab-webadmin/usr/share/kolab-webadmin/lib -type f -name "*php" -perm +1 -print0 | xargs -r0 chmod -x 17 18 override_dh_compress: 19 dh_compress -X.sql 20