blob: ba3e26a010b2e4d61b2e4e3ddd53301ab2df5a7f (
plain)
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
|
#!/usr/bin/make -f
VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\-/')
build: build-stamp
build-stamp:
dh_testdir
db2html -o ${CURDIR}/user doc/user/main.xml || true
db2html -o ${CURDIR}/user -u doc/user/main.xml || true
touch $@
clean:
dh_testdir
dh_testroot
rm -fr build-stamp docbook2html-dir user
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
binary-indep: install
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs
dh_link usr/share/doc/scons-doc/user/main.html usr/share/doc/scons-doc/user.html
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary-arch: install
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
|