mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
* Makefile.in (conf_prefix): New variable.
(dist_prefix): Ditto. Conditionally set to $(conf_prefix). (bindist): Use dist_prefix.
This commit is contained in:
parent
ece3c72f16
commit
00f55bc3a9
@ -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.
|
||||
|
@ -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) *
|
||||
|
Loading…
x
Reference in New Issue
Block a user