wmacpi: Respect DESTDIR variable in Makefile, e.g., for package creation.

This commit is contained in:
Doug Torrance 2014-11-23 23:06:21 -06:00 committed by Carlos R. Mafra
parent 7232482853
commit 3b0dceb28e

View file

@ -62,10 +62,10 @@ clean:
clean-all: clean clean-all: clean
install: $(targets) install: $(targets)
install -d $(PREFIX)/bin/ install -d $(DESTDIR)$(PREFIX)/bin/
install -pc $(targets) $(PREFIX)/bin/ install -pc $(targets) $(DESTDIR)$(PREFIX)/bin/
install -d $(PREFIX)/share/man/man1/ install -d $(DESTDIR)$(PREFIX)/share/man/man1/
install -pc $(doc_targets) $(PREFIX)/share/man/man1/ install -pc $(doc_targets) $(DESTDIR)$(PREFIX)/share/man/man1/
tags: tags:
etags $(WMSRC) $(CLSRC) $(HEADERS) etags $(WMSRC) $(CLSRC) $(HEADERS)