[Pkg-wmaker-commits] [wmacpi] 35/105: wmacpi: Respect DESTDIR variable in Makefile, e.g., for package creation.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Aug 18 01:13:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmacpi.
commit 9d014d84cee83c8710cfa4ff332333e12e0d330a
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Sun Nov 23 23:06:21 2014 -0600
wmacpi: Respect DESTDIR variable in Makefile, e.g., for package creation.
---
Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 44fb5bd..5c6f0aa 100644
--- a/Makefile
+++ b/Makefile
@@ -62,10 +62,10 @@ clean:
clean-all: clean
install: $(targets)
- install -d $(PREFIX)/bin/
- install -pc $(targets) $(PREFIX)/bin/
- install -d $(PREFIX)/share/man/man1/
- install -pc $(doc_targets) $(PREFIX)/share/man/man1/
+ install -d $(DESTDIR)$(PREFIX)/bin/
+ install -pc $(targets) $(DESTDIR)$(PREFIX)/bin/
+ install -d $(DESTDIR)$(PREFIX)/share/man/man1/
+ install -pc $(doc_targets) $(DESTDIR)$(PREFIX)/share/man/man1/
tags:
etags $(WMSRC) $(CLSRC) $(HEADERS)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmacpi.git
More information about the Pkg-wmaker-commits
mailing list