wmacpi: Respect DESTDIR variable in Makefile, e.g., for package creation.
This commit is contained in:
parent
7232482853
commit
3b0dceb28e
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue