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 26
|
#!/usr/bin/make -f
%:
dh $@ --with sphinxdoc
override_dh_auto_configure:
touch stamp-config_h.in
dh_auto_configure
override_dh_auto_build:
./remake
help2man src/gappa --no-info --no-discard-stderr > debian/gappa.1
sphinx-build doc html
override_dh_auto_install:
DESTDIR=$(CURDIR)/debian/tmp ./remake install
override_dh_auto_clean:
if test -f remake; then \
./remake clean; \
fi
rm -f src/parser/lexer.cpp src/parser/parser.cpp src/parser/parser.hpp
rm -f stamp-config_h* config.status config.log config.h
rm -f Remakefile .remake remake
rm -rf html/
|