GNUmakefile.in.diff 858 Bytes
Newer Older
ScrumpyJack's avatar
ScrumpyJack committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
--- GNUmakefile.in	2006-11-04 13:53:40.000000000 +0100
+++ GNUmakefile.in.new	2006-12-28 00:29:18.000000000 +0100
@@ -25,10 +25,10 @@
 
 .PHONY: install
 install: ldapvi
-	mkdir -p @bindir@ @mandir@/man1/ @prefix@/share/doc/ldapvi
-	@INSTALL_PROGRAM@ ldapvi @bindir@
-	@INSTALL_PROGRAM@ -m 644 ldapvi.1 @mandir@/man1/
-	@INSTALL_PROGRAM@ -m 644 manual/manual.css manual/manual.xml manual/bg.png manual/html.xsl @prefix@/share/doc/ldapvi
+	mkdir -p $(DESTDIR)@bindir@ $(DESTDIR)@mandir@/man1/ $(DESTDIR)@prefix@/share/doc/ldapvi
+	@INSTALL_PROGRAM@ ldapvi $(DESTDIR)@bindir@
+	@INSTALL_PROGRAM@ -m 644 ldapvi.1 $(DESTDIR)@mandir@/man1/
+	@INSTALL_PROGRAM@ -m 644 manual/manual.css manual/manual.xml manual/bg.png manual/html.xsl $(DESTDIR)@prefix@/share/doc/ldapvi
 
 distclean:
 	rm -rf configure GNUmakefile config.h config.log autom4te.cache config.status