aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-27 06:58:28 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-27 06:58:28 +0100
commita65db4fb168d051f6553a0edaae5aca09c0ef8aa (patch)
tree3ad508e1e1f6dd4a9c42b3f7276fc7b5a413d0e6
parentrestricted-hdparm: sanity check argc, and report failure of setuid (diff)
downloadxpybar-a65db4fb168d051f6553a0edaae5aca09c0ef8aa.tar.gz
xpybar-a65db4fb168d051f6553a0edaae5aca09c0ef8aa.tar.bz2
xpybar-a65db4fb168d051f6553a0edaae5aca09c0ef8aa.tar.xz
fix makefile1.13
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 535c818..9cbce77 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ EXAMPLEDIR = $(PREFIX)$(EXAMPLE)
MANDIR = $(DATADIR)/man
MAN1DIR = $(MANDIR)/man1
INFODIR = $(DATADIR)/info
+DOCDIR = $(DATADIR)/doc
LICENSEDIR = $(DATADIR)/licenses
PY3_SHEBANG = "/usr/bin/env python3"
@@ -139,10 +140,10 @@ bin/xpybar.%sh-completion: obj/xpybar.auto-completion
.PHONY: install
-install: install-base install-doc install-shell
+install: install-base install-info install-man install-shell
.PHONY: install-all
-install-all: install-base install-man install-shell
+install-all: install-base install-doc install-shell
.PHONY: install-base
install-base: install-command install-license install-all-examples install-plugins
@@ -244,7 +245,7 @@ uninstall:
-rm -- $(foreach F,$(EXAMPLES),"$(DESTDIR)$(EXAMPLEDIR)/$(PKGNAME)/examples/$(F)")
-rmdir -- "$(DESTDIR)$(EXAMPLEDIR)/$(PKGNAME)/examples"
-rmdir -- "$(DESTDIR)$(EXAMPLEDIR)/$(PKGNAME)"
- -rm -- $(foreach F,$(PLUGINS),"$(DESTDIR)$(DATADIR)/$(PKGNAME)/plugins/$(F)")
+ -rm -- $(foreach F,$(PLUGINS),"$(DESTDIR)$(DATADIR)/$(PKGNAME)/plugins/$(F).py")
-rmdir -- "$(DESTDIR)$(DATADIR)/$(PKGNAME)/plugins"
-rmdir -- "$(DESTDIR)$(DATADIR)/$(PKGNAME)"
-rm -- "$(DESTDIR)$(MAN1DIR)/$(COMMAND).1"