41 lines
1.4 KiB
Text
41 lines
1.4 KiB
Text
$NetBSD: patch-ab,v 1.5 2009/07/07 20:21:37 joerg Exp $
|
|
|
|
--- Makefile.in.orig 1996-07-11 23:07:03.000000000 +0200
|
|
+++ Makefile.in
|
|
@@ -114,10 +114,10 @@ distclean-binPROGRAMS:
|
|
maintainer-clean-binPROGRAMS:
|
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
- $(mkinstalldirs) $(bindir)
|
|
+ $(mkinstalldirs) ${DESTDIR}$(bindir)
|
|
list="$(bin_PROGRAMS)"; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
- $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
+ $(INSTALL_PROGRAM) $$p ${DESTDIR}$(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
else :; fi; \
|
|
done
|
|
|
|
@@ -176,10 +176,11 @@ time.info: time.texi version.texi
|
|
TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
|
|
|
|
install-info: $(INFO_DEPS)
|
|
- $(mkinstalldirs) $(infodir)
|
|
+ $(mkinstalldirs) ${DESTDIR}$(infodir)
|
|
for file in $(INFO_DEPS); do \
|
|
- for ifile in `cd $(srcdir) && echo $$file*`; do \
|
|
- $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \
|
|
+ for ifile in `cd $(srcdir) && echo $$file $$file-[1-9]*`; do \
|
|
+ test ! -f $(srcdir)/$$ifile || \
|
|
+ $(INSTALL_DATA) $(srcdir)/$$ifile ${DESTDIR}$(infodir)/$$ifile; \
|
|
done; \
|
|
done
|
|
|
|
@@ -279,7 +280,7 @@ all: $(INFO_DEPS) $(PROGRAMS) Makefile
|
|
install-strip:
|
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
|
|
installdirs:
|
|
- $(mkinstalldirs) $(bindir) $(infodir)
|
|
+ $(mkinstalldirs) ${DESTDIR}$(bindir) ${DESTDIR}$(infodir)
|
|
|
|
|
|
mostlyclean-generic:
|