File: rules

package info (click to toggle)
ino-headers 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 344 kB
  • ctags: 48
  • sloc: sh: 636; ansic: 114; makefile: 54
file content (20 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export NATURALDOCS=/usr/bin/naturaldocs

%:
	dh $@ --parallel --with autoreconf

override_dh_auto_clean:
	rm -rf m4
	dh_auto_clean

override_dh_autoreconf:
	mkdir m4
	dh_autoreconf

override_dh_auto_build:
	dh_auto_build
ifeq ($(shell dpkg-query -s naturaldocs 1>/dev/null 2>&1 && echo yes),yes)
	cd doc/ && $(MAKE) html
endif