| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
export FORCE_SOURCE_DATE=1 |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ |
| 10 |
|
| 11 |
override_dh_auto_build: |
| 12 |
make doc-dvi |
| 13 |
|
| 14 |
execute_after_dh_auto_clean: |
| 15 |
rm -rf compiled.docs |
| 16 |
|
| 17 |
override_dh_auto_install: |
| 18 |
dh_installdirs |
| 19 |
cp -r texmf debian/abntex/usr/share/ |
| 20 |
mv $(CURDIR)/debian/abntex/usr/share/texmf/doc $(CURDIR)/debian/abntex/usr/share/doc/abntex |
| 21 |
mv $(CURDIR)/compiled.docs/*.dvi $(CURDIR)/debian/abntex/usr/share/doc/abntex |
| 22 |
|
| 23 |
execute_after_dh_fixperms: |
| 24 |
chmod -R a-x+X $(CURDIR)/debian/abntex/usr/share/texmf/ |