Blame SOURCES/autoconf213-destdir.patch

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