Blame SOURCES/autoconf213-destdir.patch

d9d0ed
--- autoconf-2.13/Makefile.in.rh1	2007-02-14 16:22:52.000000000 +0100
d9d0ed
+++ autoconf-2.13/Makefile.in	2007-02-14 16:23:26.000000000 +0100
d9d0ed
@@ -137,23 +137,23 @@
d9d0ed
 	cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@
d9d0ed
 
d9d0ed
 installdirs:
d9d0ed
-	$(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir)
d9d0ed
+	$(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)/$(bindir) $(DESTDIR)/$(infodir) $(DESTDIR)/$(acdatadir)
d9d0ed
 
d9d0ed
 install: all $(M4FILES) acconfig.h installdirs install-info
d9d0ed
 	for p in $(ASCRIPTS); do \
d9d0ed
-	  $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
d9d0ed
+	  $(INSTALL_PROGRAM) $$p $(DESTDIR)/$(bindir)/`echo $$p|sed '$(transform)'`; \
d9d0ed
 	done
d9d0ed
 	for i in $(M4FROZEN); do \
d9d0ed
-	  $(INSTALL_DATA) $$i $(acdatadir)/$$i; \
d9d0ed
+	  $(INSTALL_DATA) $$i $(DESTDIR)/$(acdatadir)/$$i; \
d9d0ed
 	done
d9d0ed
 	for i in $(M4FILES) acconfig.h; do \
d9d0ed
-	  $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
d9d0ed
+	  $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)/$(acdatadir)/$$i; \
d9d0ed
 	done
d9d0ed
 	-if test -f autoscan; then \
d9d0ed
-	$(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
d9d0ed
+	$(INSTALL_PROGRAM) autoscan $(DESTDIR)/$(bindir)/`echo autoscan|sed '$(transform)'`; \
d9d0ed
 	for i in acfunctions acheaders acidentifiers acprograms \
d9d0ed
 	  acmakevars; do \
d9d0ed
-	$(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
d9d0ed
+	$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)/$(acdatadir)/$$i; \
d9d0ed
 	done; \
d9d0ed
 	else :; fi
d9d0ed
 
d9d0ed
@@ -161,11 +161,11 @@
d9d0ed
 install-info: info installdirs
d9d0ed
 	if test -f autoconf.info; then \
d9d0ed
 	  for i in *.info*; do \
d9d0ed
-	    $(INSTALL_DATA) $$i $(infodir)/$$i; \
d9d0ed
+	    $(INSTALL_DATA) $$i $(DESTDIR)/$(infodir)/$$i; \
d9d0ed
 	  done; \
d9d0ed
 	else \
d9d0ed
 	  for i in $(srcdir)/*.info*; do \
d9d0ed
-	    $(INSTALL_DATA) $$i $(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
d9d0ed
+	    $(INSTALL_DATA) $$i $(DESTDIR)/$(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
d9d0ed
 	  done; \
d9d0ed
 	fi
d9d0ed