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 (30 lines) | stat: -rwxr-xr-x 646 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f

package := diffs
tmp := debian/tmp

build:
	make

binary-arch:

binary-indep:
	install -d $(tmp)/usr/bin/
	install -d $(tmp)/usr/share/doc/$(package)/
	install -d $(tmp)/DEBIAN

	install -m 755 binary $(tmp)/usr/bin/$(package)
	gzip -c9 ChangeLog > $(tmp)/usr/share/doc/$(package)/changelog.gz
	gzip -c9 debian/changelog > $(tmp)/usr/share/doc/$(package)/changelog.Debian.gz

	dpkg-gencontrol -isp
	dpkg --build $(tmp) ..

binary: binary-arch binary-indep

clean:
	rm -rf $(tmp)
#	make clean
	rm -f subdir-good/config.cache subdir-good/config.log subdir-good/config.status

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