File: rules

package info (click to toggle)
cdpr 2.2.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze
  • size: 160 kB
  • ctags: 79
  • sloc: ansic: 1,020; perl: 68; makefile: 46; php: 22
file content (41 lines) | stat: -rwxr-xr-x 754 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
#!/usr/bin/make -f

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

clean:
	dh_testdir
	dh_testroot # only needed when not using fakeroot
	rm -f build-stamp
	$(MAKE) distclean
	dh_clean

install: build
	dh_testdir
	dh_testroot # only needed when not using fakeroot
	dh_clean
	$(MAKE) install prefix=/usr DESTDIR=$(CURDIR)/debian/cdpr

binary: binary-arch binary-indep

binary-indep:

binary-arch: install
	dh_testdir
	dh_testroot # we really need this here
	dh_install --sourcedir=debian/cdpr
	dh_installdocs README.cdprs
	dh_installchangelogs README
	dh_installman debian/cdpr.8
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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