~mcepl/ldapvi

d2b8ba46046bd5204c896a64f5a573f3c22ac275 — MatÄ›j Cepl 7 months ago f1d42ba
Use $(DESTDIR) for packaging with rpm (and I suspect Debian as well).
1 files changed, 1 insertions(+), 1 deletions(-)

M ldapvi/GNUmakefile.in
M ldapvi/GNUmakefile.in => ldapvi/GNUmakefile.in +1 -1
@@ 4,6 4,7 @@ LDFLAGS:=@LDFLAGS@ @LIBS@
INSTALL:=@INSTALL@
prefix:=@prefix@
exec_prefix:=@exec_prefix@
datarootdir:=@datarootdir@

all: ldapvi



@@ 28,7 29,6 @@ install: ldapvi
	mkdir -p $(DESTDIR)@bindir@ $(DESTDIR)@mandir@/man1/ $(DESTDIR)@prefix@/share/doc/ldapvi
	@INSTALL_PROGRAM@ ldapvi $(DESTDIR)@bindir@
	@INSTALL_DATA@ ldapvi.1 $(DESTDIR)@mandir@/man1/
	@INSTALL_DATA@ 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