debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | PACKAGE = ddir |
| 4 | DOCDIR = debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/doc |
| 5 | |
| 6 | override_dh_auto_install: |
| 7 | $(MAKE) prefix=/usr \ |
| 8 | DESTDIR=debian/$(PACKAGE) \ |
| 9 | INSTALL_OBJS_DOC="" \ |
| 10 | DOCDIR=$(DOCDIR) \ |
| 11 | install |
| 12 | |
| 13 | # Only manual pages, remove |
| 14 | rm -rf $(DOCDIR) |
| 15 | |
| 16 | %: |
| 17 | dh $@ |
| 18 | |
| 19 | # End of file |