File: rules

package info (click to toggle)
t2html 2016.1020%2Bgit294e8d7-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 840 kB
  • ctags: 290
  • sloc: perl: 4,711; makefile: 133
file content (25 lines) | stat: -rwxr-xr-x 503 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
#!/usr/bin/make -f

PACKAGE = t2html
DOCDIR	= debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)

override_dh_auto_install:
	$(MAKE) prefix=/usr \
		DESTDIR=debian/$(PACKAGE) \
		INSTALL_OBJS_DOC="" \
		DOCDIR=$(DOCDIR)/doc \
		install

	# Nothing relevant, copies of manual pages etc.
	rm -rf $(DOCDIR)/doc/license $(DOCDIR)/doc/manual

override_dh_compress:
	dh_compress -X "*.txt"
	# Not documentation, but example files to try on
	find debian -name "*.txt.gz" | xargs -r gzip -d

%:
	dh  $@


# End of file