Kolab/kolab-webadmin

Annotated debian/rules

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