Blame SOURCES/autoconf213-destdir.patch

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