diff options
author | portix <none@none> | 2013-03-03 01:58:33 +0100 |
---|---|---|
committer | portix <none@none> | 2013-03-03 01:58:33 +0100 |
commit | 242e675a8788ef9f38b830340bc9055f573c09a2 (patch) | |
tree | 52d9ff9aa83bca9810310a89ada8bd7140a3dbe5 /Makefile | |
parent | 6443f50052d9e9ea425a490f481265abb38b5c01 (diff) | |
download | dwb-242e675a8788ef9f38b830340bc9055f573c09a2.zip |
Adding uninstall rule for bashcompletion
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -65,8 +65,8 @@ install-data: all install -m 644 $$file $(DESTDIR)$(DATADIR)/$(REAL_NAME)/$$file; \ done ifdef bashcompletion - install -d $(bashcompletion) - install -m 644 $(CONTRIBDIR)/bash-completion $(bashcompletion)/dwb + install -d $(DESTDIR)/$(bashcompletion) + install -m 644 $(CONTRIBDIR)/bash-completion $(DESTDIR)/$(bashcompletion)/dwb endif @@ -84,6 +84,9 @@ uninstall-data: $(RM) -r $(DESTDIR)$(DATADIR)/$(REAL_NAME) $(RM) -r $(DESTDIR)$(DATADIR)/applications/dwb.desktop $(RM) -r $(DESTDIR)$(DATADIR)/pixmaps/dwb.png +ifdef bashcompletion + $(RM) $(DESTDIR)$(bashcompletion)/dwb +endif distclean: clean |