| 1 |
|
| 2 |
|
| 3 |
%: |
| 4 |
dh $@ --with sphinxdoc |
| 5 |
|
| 6 |
override_dh_auto_configure: |
| 7 |
touch stamp-config_h.in |
| 8 |
dh_auto_configure |
| 9 |
|
| 10 |
override_dh_auto_build: |
| 11 |
./remake |
| 12 |
help2man src/gappa --no-info --no-discard-stderr > debian/gappa.1 |
| 13 |
sphinx-build doc html |
| 14 |
|
| 15 |
override_dh_auto_install: |
| 16 |
DESTDIR=$(CURDIR)/debian/tmp ./remake install |
| 17 |
|
| 18 |
|
| 19 |
override_dh_auto_clean: |
| 20 |
if test -f remake; then \ |
| 21 |
./remake clean; \ |
| 22 |
fi |
| 23 |
rm -f src/parser/lexer.cpp src/parser/parser.cpp src/parser/parser.hpp |
| 24 |
rm -f stamp-config_h* config.status config.log config.h |
| 25 |
rm -f Remakefile .remake remake |
| 26 |
rm -rf html/ |