aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-10-28 12:25:35 +0100
committerMattias Andrée <maandree@operamail.com>2014-10-28 12:25:35 +0100
commit43c7da5e621044df1240426cc3110f055e2f232d (patch)
tree151c826faeb6d8d11cceda8d451568b15c1c3452
parentfix warnings (diff)
downloadscrotty-43c7da5e621044df1240426cc3110f055e2f232d.tar.gz
scrotty-43c7da5e621044df1240426cc3110f055e2f232d.tar.bz2
scrotty-43c7da5e621044df1240426cc3110f055e2f232d.tar.xz
fix makefile
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index cfcda0d..8fbdb7a 100644
--- a/Makefile
+++ b/Makefile
@@ -118,13 +118,13 @@ install-copyright: install-copying install-license
.PHONY: install-copying
install-copying:
- install -dm755 -- "$(DESTDIR)$(LICENSEDIR)/$(PACKAGE)"
- install -m644 COPYING -- "$(DESTDIR)$(LICENSEDIR)/$(PACKAGE)/COPYING"
+ install -dm755 -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
+ install -m644 COPYING -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/COPYING"
.PHONY: install-license
install-license:
- install -dm755 -- "$(DESTDIR)$(LICENSEDIR)/$(PACKAGE)"
- install -m644 LICENSE -- "$(DESTDIR)$(LICENSEDIR)/$(PACKAGE)/LICENSE"
+ install -dm755 -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
+ install -m644 LICENSE -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/LICENSE"
.PHONY: install-doc
install-doc: install-info install-pdf install-ps install-dvi
@@ -153,9 +153,9 @@ install-dvi: scrotty.dvi
.PHONY: uninstall
uninstall:
-rm -- "$(DESTDIR)$(BINDIR)/$(COMMAND)"
- -rm -- "$(DESTDIR)$(LICENSEDIR)/$(PACKAGE)/COPYING"
- -rm -- "$(DESTDIR)$(LICENSEDIR)/$(PACKAGE)/LICENSE"
- -rmdir -- "$(DESTDIR)$(LICENSEDIR)/$(PACKAGE)"
+ -rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/COPYING"
+ -rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/LICENSE"
+ -rmdir -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
-rm -- "$(DESTDIR)$(INFODIR)/$(PKGNAME).info"
-rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).pdf"
-rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).ps"