File GNUMakefile.in.patch of Package ldapvi

--- ldapvi-1.7/GNUmakefile.in	2007-05-05 11:17:26.000000000 +0100
+++ GNUmakefile.in	2007-07-05 13:34:33.000000000 +0100
@@ -4,6 +4,7 @@
 INSTALL:=@INSTALL@
 prefix:=@prefix@
 exec_prefix:=@exec_prefix@
+datarootdir:=@datarootdir@
 
 all: ldapvi
 
@@ -25,10 +26,9 @@
 
 .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/
 
 distclean:
 	rm -rf configure GNUmakefile config.h config.log autom4te.cache config.status
openSUSE Build Service is sponsored by