1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
SHELL := sh -e
%:
dh ${@} --with quilt
override_dh_auto_clean:
cp conf/paths.pl conf/paths.pl.debian
$(MAKE) tidy
chmod 0755 debian/rules
mv conf/paths.pl.debian conf/paths.pl
for SCRIPT in bin/mactime bin/grave-robber bin/strip_tct_home extras/bdf extras/realpath extras/ils2mac lazarus/lazarus; \
do \
sed -i -e 's|^#!/usr/bin/perl.*$$|#!/usr/bin/perl5|' $$SCRIPT; \
done
dh_clean
override_dh_auto_build:
dh_auto_build -- OPT="$(CFLAGS)" DEBUG=-g
|