diff options
author | Earnie Boyd <earnie@users.sf.net> | 2002-06-15 14:06:21 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2002-06-15 14:06:21 +0000 |
commit | 00f55bc3a967474915d3ff2cf6e6c664380a6294 (patch) | |
tree | e2b8d37186fd82bd15899eaed8c17e7d80f45e21 /winsup/mingw | |
parent | ece3c72f1621109acd9c0eb10de92f433e6d9acc (diff) | |
download | newlib-00f55bc3a967474915d3ff2cf6e6c664380a6294.zip newlib-00f55bc3a967474915d3ff2cf6e6c664380a6294.tar.gz newlib-00f55bc3a967474915d3ff2cf6e6c664380a6294.tar.bz2 |
* Makefile.in (conf_prefix): New variable.
(dist_prefix): Ditto. Conditionally set to $(conf_prefix).
(bindist): Use dist_prefix.
Diffstat (limited to 'winsup/mingw')
-rw-r--r-- | winsup/mingw/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/mingw/Makefile.in | 9 |
2 files changed, 14 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index f85feb0..ac7cffc 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,9 @@ +2002-06-15 Earnie Boyd <earnie@users.sf.net> + + * Makefile.in (conf_prefix): New variable. + (dist_prefix): Ditto. Conditionally set to $(conf_prefix). + (bindist): Use dist_prefix. + 2002-06-13 Danny Smith <dannysmith@users.sourceforge.net> * include/_mingw.h: Increment version to 2.0. diff --git a/winsup/mingw/Makefile.in b/winsup/mingw/Makefile.in index 5f7c3e4..f827d27 100644 --- a/winsup/mingw/Makefile.in +++ b/winsup/mingw/Makefile.in @@ -29,6 +29,7 @@ host_alias = @host_alias@ build_alias = @build_alias@ target_alias = @target_alias@ prefix = @prefix@ +conf_prefix = @prefix@ program_transform_name = @program_transform_name@ exec_prefix = @exec_prefix@ @@ -286,6 +287,12 @@ ifneq (,$(findstring cygwin, $(target_alias))) TARFILEEXT = .tar.bz2 endif +ifneq (,$(findstring mingw, $(target_alias))) + dist_prefix = +else + dist_prefix = $(conf_prefix) +endif + dist: srcdist bindist srcdist: @@ -312,7 +319,7 @@ bindist: rm -rf $(distdir) mkdir $(distdir) chmod 755 $(distdir) - $(MAKE) install prefix=$(shell pwd)/$(distdir) + $(MAKE) install prefix=$(shell pwd)/$(distdir)$(dist_prefix) rm -f $(distdir).tar.gz cd $(distdir); \ $(TAR) $(TARFLAGS)cf ../$(distdir)$(TARFILEEXT) * |