Blame SOURCES/autoconf213-destdir.patch

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