Remove example files also on uninstall.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 23 Feb 2015 23:08:56 +0000 (00:08 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 23 Feb 2015 23:08:56 +0000 (00:08 +0100)
Makefile

index 566f945..924e1b7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@ install: $(TARGET) $(DOCDIR)/$(MAN1)
 uninstall:
        $(RM) $(DESTDIR)$(BINDIR)/$(TARGET)
        $(RM) $(DESTDIR)$(MANDIR)/man1/$(MAN1)
+       $(RM) -r $(DESTDIR)$(EXAMPLEDIR)
 
 dist: dist-clean
        @echo "Creating tarball."