File: rules

package info (click to toggle)
paxctl 0.7-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 92 kB
  • sloc: ansic: 548; makefile: 52
file content (49 lines) | stat: -rwxr-xr-x 732 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
#!/usr/bin/make -f

clean:
	dh_testdir

	rm -f build-stamp install-stamp
	$(MAKE) clean

	dh_clean

build-arch: build-stamp
build-indep: build-stamp

build: build-arch build-indep
build-stamp:
	dh_testdir

	$(MAKE)

	touch $@

install: install-stamp
install-stamp:
	dh_testdir

	install -d $(CURDIR)/debian/paxctl/sbin/
	install -m0755 paxctl $(CURDIR)/debian/paxctl/sbin/

	touch $@

binary-indep: build install

binary-arch: build install
	dh_testdir

	dh_installdocs README
	dh_installman paxctl.1
	dh_installchangelogs ChangeLog
	dh_compress
	dh_strip
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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