#!/usr/bin/make -f # Include debhelper rules include /usr/share/cdbs/1/rules/debhelper.mk common-install-prehook-indep:: for i in llxcfg-ntpdate-desktop llxcfg-ntp ; do \ [ ! -r "debian/$$i.vars.in" ] || cp debian/$$i.vars.in debian/$$i.vars; \ echo debian/$$i.vars >> debian/REMOVE_LIST ; \ done # for i in llxcfg-ntpdate-desktop ; do \ # # cat debian/ntpservers.vars.in >> debian/$$i.vars; \ # done dllxh_install dh_installinit --name= llxcfg-ntp-launcher -- start 60 2 3 4 5 . stop 70 0 1 6 clean:: if [ -f debian/REMOVE_LIST ] ; then cat debian/REMOVE_LIST |while read f ; do rm -f $$f; done ;fi rm -f debian/REMOVE_LIST