File: rules

package info (click to toggle)
ocaml-book 1.0-4
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k, lenny, sarge, squeeze
  • size: 12,608 kB
  • ctags: 3,231
  • sloc: makefile: 26
file content (43 lines) | stat: -rwxr-xr-x 862 bytes parent folder | download
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
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

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

clean:
	dh_testdir
	dh_testroot
	dh_clean

build:
	# Nothing to do

install: build
	dh_testdir
	dh_testroot
	dh_clean -k

	# Add here commands to install the package into debian/ocaml-book.
	mkdir -p debian/ocaml-book-fr/usr/share/doc/ocaml-book/fr
	mkdir -p debian/ocaml-book-en/usr/share/doc/ocaml-book/en

	cp -a fr/* debian/ocaml-book-fr/usr/share/doc/ocaml-book/fr/
	cp -a en/* debian/ocaml-book-en/usr/share/doc/ocaml-book/en/

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installchangelogs
	dh_compress -X.pdf -X.css -X.js
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep

.PHONY: clean binary-indep binary install