1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
export AUTOHEADER = true
execute_after_dh_autoreconf:
mv autoconf/configure .
override_dh_auto_build:
dh_auto_build -- RPATH=
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
SLSH_PATH=. $(MAKE) check
endif
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
DOCDIR = ./debian/slang-gsl/usr/share/doc/slang-gsl
execute_after_dh_installdeb:
pandoc $(DOCDIR)/index.html -t markdown -o $(DOCDIR)/README-doc.md
rm -f $(DOCDIR)/index.html
endif
|