File: rules

package info (click to toggle)
docbook-dsssl 1.79-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,292 kB
  • sloc: perl: 496; xml: 126; javascript: 61; makefile: 15; sh: 10
file content (23 lines) | stat: -rwxr-xr-x 600 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
#!/usr/bin/make -f

DH_VERBOSE = 1

%:
	dh $@

# The upstream sources have one ChangeLog file for each directory.  For
# the Debian package, we build a combined one.
override_dh_installchangelogs:
	for file in $(shell find -name ChangeLog -not -path './debian/*' | LC_ALL=C sort) ; do \
		echo "$$file" | sed 's,^./,,'; \
		echo; \
		sed 's/^/  | /' "$$file"; \
		echo; \
	done > debian/ChangeLog.combined
	dh_installchangelogs debian/ChangeLog.combined

override_dh_installman:
	dh_installman --language=C bin/collateindex.pl.1

execute_before_dh_installdocs:
	cp frames/README debian/README.frames