#!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/dpatch/dpatch.make build: clean: clean1 unpatch clean1: dh_testdir dh_testroot dh_clean install: patch-stamp dh_testdir dh_testroot dh_clean -k dh_installdirs # Build architecture-dependent files here. binary-arch: install # We have nothing to do by default. # Build architecture-independent files here. binary-indep: install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_install dh_installinit # dh_installcron # Deleting extra licenses rm debian/dotlrn/usr/share/dotlrn/license.txt rm debian/dotlrn/usr/share/dotlrn/packages/acs-templating/www/resources/htmlarea/license.txt rm debian/dotlrn/usr/share/dotlrn/packages/acs-templating/www/resources/xinha-nightly/license.txt # Deleting some unneeded files rm debian/dotlrn/var/log/aolserver4/dotlrn/log.txt rm debian/dotlrn/usr/share/dotlrn/packages/theme-selva/www/resources/Selva/default/images/.DS_Store rm debian/dotlrn/usr/share/dotlrn/packages/acs-templating/www/resources/xinha-nightly/plugins/ImageManager/img/Thumbs.db # Setting up correct permissions find debian/dotlrn/usr -type f -exec chmod 0644 {} \; find debian/dotlrn/usr -type d -exec chmod 0755 {} \; find debian/dotlrn/usr -type f -name *.pl -exec chmod 0755 {} \; # Perl scripts +x find debian/dotlrn/usr -type f -name *.sh -exec chmod 0755 {} \; # Shell scripts +x chmod 0755 debian/dotlrn/etc/dotlrn/install/checkout.sh debian/dotlrn/etc/dotlrn/install/post-checkout-script.sh debian/dotlrn/usr/share/dotlrn/bin/create-tablespace.tcl debian/dotlrn/usr/share/dotlrn/bin/restart-aolserver debian/dotlrn/usr/share/dotlrn/bin/webspell debian/dotlrn/usr/share/dotlrn/packages/acs-lang/bin/mygrep debian/dotlrn/etc/dotlrn/install/build-release.sh debian/dotlrn/usr/share/dotlrn/packages/acs-templating/www/resources/htmlarea/examples/2-areas.cgi debian/dotlrn/usr/share/dotlrn/packages/acs-templating/www/resources/htmlarea/examples/test.cgi debian/dotlrn/usr/share/dotlrn/packages/acs-templating/www/resources/htmlarea/plugins/SpellChecker/spell-check-logic.cgi debian/dotlrn/usr/share/dotlrn/packages/acs-templating/www/resources/xinha-nightly/plugins/SpellChecker/spell-check-logic.cgi dh_installdebconf dh_link dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install patch unpatch clean1