File: rules

package info (click to toggle)
doc-debian-fr 3.1.3.2
  • links: PTS
  • area: main
  • in suites: sid, stretch
  • size: 1,092 kB
  • ctags: 6
  • sloc: xml: 113; makefile: 74
file content (63 lines) | stat: -rwxr-xr-x 1,282 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

DESTDIR = $(CURDIR)/debian/doc-debian-fr

DOCS = debian-fr-howto \
	debian-guide_fr-1.0 \
	internals \
	policy.fr \
	project-history.fr \
	debian-manifesto.fr \
	debian-euro-support.fr

build-arch:

build-indep: build

build: build-stamp

build-stamp:
	$(MAKE) all
	touch build-stamp

clean:
	rm -f build-stamp
	$(MAKE) clean
	dh_clean

binary-arch:

binary-indep: build
	dh_prep
	dh_installdirs
	for doc in $(DOCS); do \
		cp -R $$doc.html $(DESTDIR)/usr/share/doc/LANG/fr/debian/html; \
		install -m 0644 $$doc.txt $(DESTDIR)/usr/share/doc/LANG/fr/debian; \
		install -m 0644 doc/$$doc.sgml $(DESTDIR)/usr/share/doc/LANG/fr/debian; \
        done
	# Copy SGML entities
	install -m 0644 doc/*.ent $(DESTDIR)/usr/share/doc/LANG/fr/debian
	# Copy HTML index
	install -m 0644 index.html $(DESTDIR)/usr/share/doc/LANG/fr/debian/html
	dh_installdocs
	dh_installexamples
	dh_installmenu
	dh_installcron
	dh_installman
	dh_installinfo
	dh_installchangelogs 
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch

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