aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-27 23:02:34 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-27 23:03:33 +0100
commit074dc52134700dab5ab0f93ac32898af8390c097 (patch)
tree5904f6de6c5f668a0813e7e62607ef8633c44739
parentm (diff)
downloadmongotimer-074dc52134700dab5ab0f93ac32898af8390c097.tar.gz
mongotimer-074dc52134700dab5ab0f93ac32898af8390c097.tar.bz2
mongotimer-074dc52134700dab5ab0f93ac32898af8390c097.tar.xz
fix makefile
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 c36ced4..3be6906 100644
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,7 @@ install: install-base install-info install-man
install-all: install-base install-doc
.PHONY: install-base
-install-base: install-cmd install-license
+install-base: install-command install-license
.PHONY: install-command
install-command: bin/mongoclock
@@ -117,8 +117,8 @@ install-command: bin/mongoclock
.PHONY: install-license
install-license:
- install -dm755 -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
- install -m644 COPYING -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
+ install -dm755 -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
+ install -m644 COPYING LICENSE -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
.PHONY: install-doc
install-doc: install-info install-pdf install-dvi install-ps install-man
@@ -154,6 +154,7 @@ install-man: doc/man/mongoclock.1
uninstall:
-rm -- "$(DESTDIR)$(BINDIR)/$(COMMAND)"
-rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/COPYING"
+ -rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/LICENSE"
-rmdir -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
-rm -- "$(DESTDIR)$(INFODIR)/$(PKGNAME).info"
-rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).pdf"