File: rules

package info (click to toggle)
tidy 20000113-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 576 kB
  • ctags: 971
  • sloc: ansic: 11,041; makefile: 47
file content (39 lines) | stat: -rwxr-xr-x 757 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
#!/usr/bin/make -f
# -*- makefile -*- made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.

clean:
	dh_testdir
	dh_testroot
	dh_clean build.stamp
	$(MAKE) clean

build: build.stamp
build.stamp:
	dh_testdir
	$(MAKE) CFLAGS='-O2 -g -Wall' tidy
	: > $@

binary: binary-arch binary-indep

binary-arch: build
	dh_testdir
	dh_testroot
	dh_clean
	dh_installchangelogs
	dh_installdirs usr/bin usr/share/man/man1
	dh_installdocs *.html *.gif
	cp man_page.txt debian/tmp/usr/share/man/man1/tidy.1
	cp tidy debian/tmp/usr/bin
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-indep:

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