diff options
author | portix <none@none> | 2013-03-03 22:49:08 +0100 |
---|---|---|
committer | portix <none@none> | 2013-03-03 22:49:08 +0100 |
commit | 14d0968e40b0b2e81bdea08410d59b04deb3bd15 (patch) | |
tree | a38c26127132cd22b903f011164e8e9714d1d026 /Makefile | |
parent | 738bc34efc3af0ccd82d1fd6f8fea50ddfb98043 (diff) | |
download | dwb-14d0968e40b0b2e81bdea08410d59b04deb3bd15.zip |
Create dwbem symlink for bash-completion
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -64,9 +64,10 @@ install-data: all for file in $(EXTENSIONDIR)/*; do \ install -m 644 $$file $(DESTDIR)$(DATADIR)/$(REAL_NAME)/$$file; \ done -ifdef bashcompletion - install -d $(DESTDIR)/$(bashcompletion) - install -m 644 $(CONTRIBDIR)/bash-completion $(DESTDIR)/$(bashcompletion)/dwb +ifdef BASHCOMPLETION + install -d $(DESTDIR)/$(BASHCOMPLETION) + install -m 644 $(CONTRIBDIR)/bash-completion $(DESTDIR)/$(BASHCOMPLETION)/dwb + ln -s $(BASHCOMPLETION)/dwb $(DESTDIR)$(BASHCOMPLETION)/dwbem endif @@ -84,8 +85,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 +ifdef BASHCOMPLETION + $(RM) $(DESTDIR)$(BASHCOMPLETION)/dwb + unlink $(DESTDIR)$(BASHCOMPLETION)/dwbem endif distclean: clean |