File: rules

package info (click to toggle)
abntex 0.9~beta2-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 944 kB
  • sloc: makefile: 158
file content (24 lines) | stat: -rwxr-xr-x 560 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
24
#!/usr/bin/make -f

#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	make doc-dvi

override_dh_auto_clean:
	dh_auto_clean
	rm -rf compiled.docs

override_dh_auto_install:
	dh_installdirs
	cp -r texmf debian/abntex/usr/share/
	mv $(CURDIR)/debian/abntex/usr/share/texmf/doc $(CURDIR)/debian/abntex/usr/share/doc/abntex
	mv $(CURDIR)/compiled.docs/*.dvi $(CURDIR)/debian/abntex/usr/share/doc/abntex

override_dh_fixperms:
	dh_fixperms
	chown -R root.root $(CURDIR)/debian/abntex/usr/share/texmf/
	chmod -R a-x+X $(CURDIR)/debian/abntex/usr/share/texmf/