diff options
author | Earnie Boyd <earnie@users.sf.net> | 2000-11-22 23:43:23 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2000-11-22 23:43:23 +0000 |
commit | c84242b6f3aecf3e25b54ad811030bcdf0188d00 (patch) | |
tree | 2f2938c00e19310be599fe926c9773a03a532a4e /winsup | |
parent | 58b9bd9493a3da8b43b0dc473cca37645a57cf20 (diff) | |
download | newlib-c84242b6f3aecf3e25b54ad811030bcdf0188d00.zip newlib-c84242b6f3aecf3e25b54ad811030bcdf0188d00.tar.gz newlib-c84242b6f3aecf3e25b54ad811030bcdf0188d00.tar.bz2 |
* Makefile.in: Fix bindist target to distribute the correct files.
Remove the use of SNAPSHOT variable and test SNAPDATE instead.
Set SNAPDATE within the snapshot target on recursive call to $(MAKE).
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/mingw/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/mingw/Makefile.in | 30 |
2 files changed, 30 insertions, 6 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index b53d38e..6b802ad 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,9 @@ +2000-11-22 Earnie Boyd <earnie_boyd@yahoo.com> + + * Makefile.in: Fix bindist target to distribute the correct files. + Remove the use of SNAPSHOT variable and test SNAPDATE instead. + Set SNAPDATE within the snapshot target on recursive call to $(MAKE). + 2000-11-21 Earnie Boyd <earnie_boyd@yahoo.com> * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target. diff --git a/winsup/mingw/Makefile.in b/winsup/mingw/Makefile.in index 7f3a827..7b4070b 100644 --- a/winsup/mingw/Makefile.in +++ b/winsup/mingw/Makefile.in @@ -105,7 +105,16 @@ FLAGS_TO_PASS:=\ AR="$(AR)" \ RANLIB="$(RANLIB)" \ LD="$(LD)" \ - DLLTOOL="$(DLLTOOL)" + DLLTOOL="$(DLLTOOL)" \ + exec_prefix="$(exec_prefix)" \ + bindir="$(bindir)" \ + libdir="$(libdir)" \ + tooldir="$(tooldir)" \ + datadir="$(datadir)" \ + infodir="$(infodir)" \ + includedir="$(includedir)" \ + prefix="$(prefix)" \ + target_alias="$(target_alias)" CRT0S = crt$(CRT_ID).o dllcrt$(CRT_ID).o CRT_noglob.o crtmt.o crtst.o MINGW_OBJS = CRTglob.o CRTfmode.o CRTinit.o dirent.o dllmain.o gccmain.o \ @@ -210,7 +219,7 @@ distclean: -rm -f config.cache config.status config.log -rm -f Makefile -ifdef SNAPSHOT +ifdef SNAPDATE distdir=$(PACKAGE)-$(VERSION)-$(SNAPDATE) else distdir=$(PACKAGE)-$(VERSION) @@ -233,6 +242,7 @@ srcdist: mkdir $(distdir)/include/sys cp $(srcdir)/include/*.h $(distdir)/include/ cp $(srcdir)/include/sys/*.h $(distdir)/include/sys/ +#end FIXME rm -f $(distdir)-src.tar.gz $(TAR) czf $(distdir)-src.tar.gz $(distdir) @@ -241,13 +251,21 @@ bindist: rm -rf $(distdir) mkdir $(distdir) chmod 755 $(distdir) - $(MAKE) install prefix=../$(distdir) + $(MAKE) install prefix=$(shell pwd)/$(distdir) rm -f $(distdir).tar.gz - cd $(distdir); $(TAR) czf ../$(distdir).tar.gz . +#FIXME does the install process really need to install into the $(tooldir)? + cd $(distdir) ; \ + cd $(target_alias); \ + for i in *; do \ + mv $$i ../; \ + done; \ + cd ..; \ + rmdir $(target_alias); \ + $(TAR) czf ../$(distdir).tar.gz * +#end FIXME -SNAPDATE = $(shell date '+%Y%m%d') snapshot: - make dist SNAPSHOT=1 + make dist SNAPDATE=$(shell date '+%Y%m%d') info: |