File: rules

package info (click to toggle)
hevea-doc 1.07-1
  • links: PTS
  • area: non-free
  • in suites: sarge
  • size: 632 kB
  • ctags: 449
  • sloc: makefile: 32
file content (44 lines) | stat: -rwxr-xr-x 717 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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/make -f
# debian/rules for hevea-doc

#export DH_VERBOSE=1

HTMLDIR=usr/share/doc/hevea/html
DOCDIR=usr/share/doc/hevea-doc

build: build-stamp

build-stamp:
	touch build-stamp

install:
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs $(HTMLDIR) $(DOCDIR)
	cp *.* debian/hevea-doc/$(HTMLDIR)
	ln -sf ../hevea/html debian/hevea-doc/$(DOCDIR)/html

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp
	dh_clean

binary-arch: 

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installchangelogs 
	dh_link
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install