aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-01 10:16:43 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-01 10:16:43 +0200
commit5a01b09bce396c079f9e66076cc9609ec2e9904f (patch)
tree4afd0f17167f3c88ae8616679ab55ed4d45a771d /Makefile
parentupdate dist (diff)
downloadadjbacklight-5a01b09bce396c079f9e66076cc9609ec2e9904f.tar.gz
adjbacklight-5a01b09bce396c079f9e66076cc9609ec2e9904f.tar.bz2
adjbacklight-5a01b09bce396c079f9e66076cc9609ec2e9904f.tar.xz
fix makefile7.2.1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index e3f8f18..67fcff8 100644
--- a/Makefile
+++ b/Makefile
@@ -72,28 +72,28 @@ install: install-cmd install-license install-info
.PHONY: install-cmd
install-cmd: bin/adjbacklight
- install -d -- "$(DESTDIR)$(PREFIX)$(BIN)"
- install -m4755 -- bin/adjbacklight "$(DESTDIR)$(PREFIX)$(BIN)/$(COMMAND)"
+ install -d -- "$(DESTDIR)$(BINDIR)"
+ install -m4755 -- bin/adjbacklight "$(DESTDIR)$(BINDIR)/$(COMMAND)"
.PHONY: install-license
install-license:
- install -d -- "$(DESTDIR)$(PREFIX)$(LICENSES)/$(PKGNAME)"
- install -m644 -- COPYING LICENSE "$(DESTDIR)$(PREFIX)$(LICENSES)/$(PKGNAME)"
+ install -d -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
+ install -m644 -- COPYING LICENSE "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
.PHONY: install-info
install-info: $(MANUAL).info
- install -d -- "$(DESTDIR)$(PREFIX)$(DATA)/info"
- install -m644 -- "$(MANUAL).info" "$(DESTDIR)$(PREFIX)$(DATA)/info/$(PKGNAME).info"
+ install -d -- "$(DESTDIR)$(DATADIR)/info"
+ install -m644 -- "$(MANUAL).info" "$(DESTDIR)$(DATADIR)/info/$(PKGNAME).info"
# remove files created by `install`
.PHONY: uninstall
uninstall:
- -rm -- "$(DESTDIR)$(PREFIX)$(BIN)/$(COMMAND)"
- -rm -- "$(DESTDIR)$(PREFIX)$(DATA)$(LICENSES)/$(PKGNAME)/COPYING"
- -rm -- "$(DESTDIR)$(PREFIX)$(DATA)$(LICENSES)/$(PKGNAME)/LICENSE"
- -rm -d -- "$(DESTDIR)$(PREFIX)$(DATA)$(LICENSES)/$(PKGNAME)"
- -rm -- "$(DESTDIR)$(PREFIX)$(DATA)/info/$(PKGNAME).info.gz"
+ -rm -- "$(DESTDIR)$(BINDIR)/$(COMMAND)"
+ -rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/COPYING"
+ -rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/LICENSE"
+ -rm -d -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
+ -rm -- "$(DESTDIR)$(DATADIR)/info/$(PKGNAME).info.gz"
# remove files created by `all`