doc/Makefile
raw| 1 | .PHONY: install uninstall |
| 2 | |
| 3 | install: |
| 4 | install -d -m 0755 $(DOCDIR) |
| 5 | find . -type d -exec install -d -m 0755 $(DOCDIR)/{} \; |
| 6 | find . -type f -not -name Makefile -exec install -m 0644 {} $(DOCDIR)/{} \; |
| 7 | |
| 8 | uninstall: |
| 9 | find . -type f -not -name Makefile -exec rm -f $(DOCDIR)/{} \; |
| 10 | find . -depth -type d -exec rmdir $(DOCDIR)/{} \; |
| 11 | rmdir $(DOCDIR) || true |