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
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
mflags=prefix=/usr mandir=/usr/share/man
override_dh_auto_configure:
override_dh_auto_build:
dh_auto_build -- $(mflags) all
override_dh_auto_install:
dh_auto_install -- $(mflags) install-all
echo "Rename binaries to avoid namespace pollution and collisions"
cd debian/scheme9/usr/bin && \
for f in advgen c2html cols dupes edoc htmlify scm2html scmpp soccat; do \
mv --verbose $$f s9$$f || true; \
done
override_dh_installchangelogs:
dh_installchangelogs -- HISTORY
|