File: rules

package info (click to toggle)
postpone 0.1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 68 kB
  • ctags: 34
  • sloc: ansic: 320; makefile: 39
file content (31 lines) | stat: -rwxr-xr-x 522 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
#!/usr/bin/make -f

build-indep:
build build-arch: build-stamp
build-stamp:
	$(MAKE)
	touch $@

binary-indep:
binary binary-arch: build-stamp
	dh_testroot
	dh_clean -k
	-mkdir debian/postpone
	$(MAKE) install PREFIX=/usr DESTDIR=$(CURDIR)/debian/postpone
	
	dh_installchangelogs
	dh_installdocs
	dh_compress
	dh_strip
	dh_installdeb
	dh_shlibdeps
	dh_fixperms
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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

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