ldapvi: Fix installation of files.

This commit is contained in:
Michael Tremer 2012-06-23 18:25:40 +02:00
parent b2a9491430
commit 397eafa577
2 changed files with 25 additions and 5 deletions

View File

@ -5,7 +5,7 @@
name = ldapvi
version = 1.7
release = 1
release = 2
groups = Applications/Editors
url = http://www.lichteblau.com/ldapvi/
@ -36,10 +36,6 @@ build
sed -e "s/getline/_&/g" -i $i
done
end
install
make install prefix=%{BUILDROOT}/usr
end
end
packages

View File

@ -0,0 +1,24 @@
--- 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