File: rules

package info (click to toggle)
texi2html 1.82+dfsg1-5
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 34,700 kB
  • ctags: 16,893
  • sloc: perl: 15,902; xml: 6,075; sh: 3,977; makefile: 501
file content (22 lines) | stat: -rwxr-xr-x 613 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
#!/usr/bin/make -f

export DH_VERBOSE=1
p := texi2html

%:
	dh $@ --with autoreconf


override_dh_auto_install:
	dh_auto_install
	dh_installdirs usr/share/doc/texi2html
	mv -v $(CURDIR)/debian/$p/usr/share/texinfo/html \
	      $(CURDIR)/debian/$p/usr/share/doc/$p/
	rm $(CURDIR)/debian/$p/usr/share/$p/images/COPYING
	rm $(CURDIR)/debian/$p/usr/share/$p/images/README
	rm $(CURDIR)/debian/$p/usr/share/$p/images/GPL
	rm $(CURDIR)/debian/$p/usr/share/$p/images/COPYING.Attribution-ShareAlike
	rm -rfv $(CURDIR)/debian/$p/usr/share/texinfo/

override_dh_auto_test:
	# looks like tests never actually run anyway...