File: rules

package info (click to toggle)
debian-handbook 7.20140126
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 64,144 kB
  • sloc: xml: 26,925; sh: 143; perl: 54; makefile: 39
file content (18 lines) | stat: -rwxr-xr-x 338 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

DOCDIR=debian/debian-handbook/usr/share/doc/debian-handbook

%:
	dh $@ 

override_dh_auto_build:
	publican build --publish --formats=html --langs=en-US

override_dh_auto_install:
	mkdir -p $(DOCDIR)
	mv publish/en-US/Debian/7/html/debian-handbook $(DOCDIR)/html

override_dh_auto_clean:
	publican clean

.PHONY: build