File: rules

package info (click to toggle)
gtml 3.6.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 432 kB
  • sloc: perl: 1,558; sh: 114; makefile: 17
file content (32 lines) | stat: -rwxr-xr-x 714 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
31
32
#!/usr/bin/make -f

# Set to enable verbose output from debhelper
#export DH_VERBOSE=1

install_dir = debian/gtml

%:
	dh $@

override_dh_installdirs:
	dh_installdirs usr/bin

override_dh_installchangelogs:
	dh_installchangelogs -XHISTORY.md

# This takes the place of an upstream install process
override_dh_auto_install:
	install -p gtml $(install_dir)/usr/bin

# This takes the place of an upstream build process
override_dh_auto_build:
	pod2man --center='Debian GNU/Linux' --release='gtml 3.6.0' debian/gtml.pod > gtml.1

# This takes the place of an upstream clean process
override_dh_auto_clean:
	rm -f gtml.1

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	sh debian/smoketest
endif