Use DESTDIR in Makefile
authorMikael Berthe <mikael@lilotux.net>
Sat, 24 Jun 2006 21:33:11 +0200
changeset 914 2aa0735936f8
parent 913 ced28f227521
child 915 59b53fed6de1
Use DESTDIR in Makefile This is recommended by the GNU Coding Standards, and solves some packaging issues.
mcabber/doc/help/Makefile.am
--- a/mcabber/doc/help/Makefile.am	Wed Jun 21 23:26:48 2006 +0200
+++ b/mcabber/doc/help/Makefile.am	Sat Jun 24 21:33:11 2006 +0200
@@ -1,5 +1,5 @@
 helpdir = $(datadir)/mcabber/help
 
 install-data-local:
-	$(install_sh) -d $(datadir)/mcabber/help
-	cp -R ?? $(datadir)/mcabber/help/
+	$(INSTALL) -d $(DESTDIR)$(datadir)/mcabber/help
+	cp -R ?? $(DESTDIR)$(datadir)/mcabber/help/