diff options
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -47,6 +47,9 @@ build: share/man/*.txt done install: build + mkdir -p $(DESTDIR)/usr/share/doc/$(SOFTWARE) + cp -a README.txt $(DESTDIR)/usr/share/doc/$(SOFTWARE) + mkdir -p $(DESTDIR)/usr/share/$(SOFTWARE) cp -a build/* $(DESTDIR)/usr/share/$(SOFTWARE) @@ -91,6 +94,9 @@ uninstall: rm -rf $(DESTDIR)/usr/share/$(SOFTWARE)/* rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/usr/share/$(SOFTWARE) || true + rm -rf $(DESTDIR)/usr/share/doc/$(SOFTWARE)/* + rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/usr/share/doc/$(SOFTWARE) || true + clean: $(MAKE) -C share/man clean |