Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-02-24 05:11:14 +0300
committerChristopher Faylor <me@cgf.cx>2009-02-24 05:11:14 +0300
commit99fe2b786610ed7b7d5354ed792c22f8446b8ea6 (patch)
tree81bf84d1945ad81b1429ab2d371df9ec68e2b889 /winsup/utils
parentbe6f5dfdc711f7535ce58a9e5869b787719c0455 (diff)
Add DESTDIR functionality to Makefile.in's.
Diffstat (limited to 'winsup/utils')
-rw-r--r--winsup/utils/ChangeLog4
-rw-r--r--winsup/utils/Makefile.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 26a2a13fe..9ebc5f802 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-23 Sjors Gielen <mailinglist@dazjorz.com>
+
+ * Makefile.in: Add DESTDIR functionality.
+
2009-01-29 Corinna Vinschen <corinna@vinschen.de>
* cygcheck.cc (dump_sysinfo): Evaluate and print state of
diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in
index f8041ea74..d4c5309eb 100644
--- a/winsup/utils/Makefile.in
+++ b/winsup/utils/Makefile.in
@@ -158,10 +158,10 @@ realclean: clean
rm -f Makefile config.cache
install: all
- $(SHELL) $(updir1)/mkinstalldirs $(bindir)
+ $(SHELL) $(updir1)/mkinstalldirs $(DESTDIR)$(bindir)
for i in $(CYGWIN_BINS) ${filter-out testsuite.exe,$(MINGW_BINS)} ; do \
n=`echo $$i | sed '$(program_transform_name)'`; \
- $(INSTALL_PROGRAM) $$i $(bindir)/$$n; \
+ $(INSTALL_PROGRAM) $$i $(DESTDIR)$(bindir)/$$n; \
done
$(cygwin_build)/libcygwin.a: $(cygwin_build)/Makefile