File: rules

package info (click to toggle)
leafpad 0.8.17-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,864 kB
  • ctags: 419
  • sloc: ansic: 5,024; sh: 3,962; makefile: 98
file content (49 lines) | stat: -rwxr-xr-x 808 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

# export DH_VERBOSE=1

PACKAGE = leafpad

man:
	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman

override_dh_auto_test:
	# Do not run tests. It would consider Quilt .pc/ directory as
	# a part of translation POTFILES.

install: build man
	# target: install
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs
	$(MAKE) install DESTDIR=$(CURDIR)/debian/$(PACKAGE)

binary-arch: install man
	# target: binary-arch -- Build architecture-dependent files
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installexamples
	dh_installmenu
	dh_installman
	dh_installchangelogs
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
	dh_makeshlibs
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-arch

%:
	dh $@

.PHONY: man binary binary-arch install

# End of file