| 1 |
#!/usr/bin/make -f |
| 2 |
%: |
| 3 |
dh $@ --sourcedirectory=doc |
| 4 |
|
| 5 |
override_dh_auto_clean: |
| 6 |
$(MAKE) -C doc clean |
| 7 |
|
| 8 |
get-orig-source: |
| 9 |
$(MAKE) -C doc update |
| 10 |
|
| 11 |
#install:: |
| 12 |
# TODO - move the files |
| 13 |
# cp $(docdir)/constitution.1.3.txt ../constitution.txt |
| 14 |
# cp $(docdir)/social-contract.txt ../social-contract.txt |
| 15 |
|
| 16 |
binary-indep/doc-debian:: |
| 17 |
dpkg-distaddfile constitution.txt byhand - |
| 18 |
dpkg-distaddfile social-contract.txt byhand - |
| 19 |
# Code disabled: There already is a mechanism (which one?) |
| 20 |
# synching files over to f.d.o/debian/doc although not exactly the |
| 21 |
# same (it retains page footers, which this one doesn't) |
| 22 |
# |
| 23 |
# cp $(docdir)/debian-manifesto ../ |
| 24 |
# dpkg-distaddfile debian-manifesto byhand - |
| 25 |
# ( cd $(docdir) && ls *.txt) | \ |
| 26 |
# grep -v constitution | \ |
| 27 |
# grep -v social-contract | \ |
| 28 |
# while read txtfile; do \ |
| 29 |
# cp $(docdir)/$$txtfile ../ ; \ |
| 30 |
# dpkg-distaddfile $$txtfile byhand - ; \ |
| 31 |
# done |
| 32 |
|
| 33 |
|