* Makefile.in (bindist): Correct the MinGW distribution.

This commit is contained in:
Earnie Boyd 2002-06-14 12:36:26 +00:00
parent 93b0828bfc
commit 687da29f13
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,7 @@
2002-06-14 Earnie Boyd <earnie@users.sf.net>
* include/wingdi.h (GetEnhMetaFileBits): Correct typo.
* Makefile.in (bindist): Correct the MinGW distribution.
2002-06-13 Earnie Boyd <earnie@users.sf.net>

View File

@ -100,6 +100,12 @@ else
endif
endif
ifneq (,$(findstring mingw, $(target_alias)))
dist_prefix=
else
dist_prefix=/$(conf_prefix)
endif
ifneq (,$(findstring cygwin, $(target_alias)))
TARFLAGS = j
TARFILEEXT = .tar.bz2
@ -124,7 +130,7 @@ bindist:
rm -rf $(distdir)
mkdir $(distdir)
chmod 755 $(distdir)
$(MAKE) install prefix=../$(distdir)/$(conf_prefix) exec_prefix=../$(distdir)/$(conf_prefix)
$(MAKE) install prefix=../$(distdir)$(dist_prefix) exec_prefix=../$(distdir)$(dist_prefix)
rm -f $(distdir)$(TARFILEEXT)
cd $(distdir); $(TAR) $(TARFLAGS)cf ../$(distdir)$(TARFILEEXT) *