File: rules

package info (click to toggle)
acheck-rules 0.3.3
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 128 kB
  • sloc: makefile: 16
file content (21 lines) | stat: -rwxr-xr-x 457 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
#!/usr/bin/make -f
# export DH_VERBOSE=1

package   := acheck-rules
manpages  := 5
languages := fr

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure
	set -ex;\
	for i in $(manpages); do\
		pod2man --section=$$i man/$(package).$$i.pod > man/$(package).$$i;\
		for lang in $(languages); do\
			if test -e man/$(package).$$lang.$$i.pod; then\
				pod2man --section=$$i man/$(package).$$lang.$$i.pod > man/$(package).$$lang.$$i;\
			fi\
		done \
	done