File: rules

package info (click to toggle)
poco-doc 1.3.6-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 10,080 kB
  • sloc: makefile: 31
file content (42 lines) | stat: -rwxr-xr-x 954 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

build:

clean:
	dh_testdir
	dh_testroot
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	install -d debian/libpoco-doc/usr/share/doc/libpoco-doc/html
	install -m 0644 *.html debian/libpoco-doc/usr/share/doc/libpoco-doc/html
	install -d debian/libpoco-doc/usr/share/doc/libpoco-doc/html/css
	install -m 0644 css/* debian/libpoco-doc/usr/share/doc/libpoco-doc/html/css
	install -d debian/libpoco-doc/usr/share/doc/libpoco-doc/html/images
	install -m 0644 images/* debian/libpoco-doc/usr/share/doc/libpoco-doc/html/images

binary-arch: build install

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs
	dh_installdocs
	dh_install
	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