File: rules

package info (click to toggle)
lintian 1.23.28%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 2,044 kB
  • ctags: 295
  • sloc: perl: 5,038; makefile: 702; python: 431; sh: 329; ansic: 30; tcl: 4; sed: 1
file content (34 lines) | stat: -rwxr-xr-x 936 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

build:

binary-arch:

binary-indep:
	install -d debian/tmp/DEBIAN
	cp debian/config debian/tmp/DEBIAN
	cp debian/preinst debian/tmp/DEBIAN
	chmod +x debian/tmp/DEBIAN/preinst
	cp debian/postinst debian/tmp/DEBIAN
	chmod +x debian/tmp/DEBIAN/postinst
	cp debian/prerm debian/tmp/DEBIAN
	chmod +x debian/tmp/DEBIAN/prerm
	cp debian/postrm debian/tmp/DEBIAN
	chmod +x debian/tmp/DEBIAN/postrm
	install -d debian/tmp/usr/share/doc/maintainer-scripts
	cp debian/changelog debian/tmp/usr/share/doc/maintainer-scripts/changelog
	gzip -9 debian/tmp/usr/share/doc/maintainer-scripts/changelog
	dpkg-gencontrol -isp
	dpkg --build debian/tmp ..

binary: binary-arch binary-indep

# Make sure we see dh_clean even in a rule clean depends on.  Not the point of
# this test suite, but a convenient place to put it.
clean: clean1 clean2 clean3
clean1:
clean2:
	dh_clean
clean3:

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