File: rules

package info (click to toggle)
gappa 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,316 kB
  • sloc: cpp: 11,864; python: 59; makefile: 19; sh: 5
file content (26 lines) | stat: -rwxr-xr-x 573 bytes parent folder | download
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/