diff options
Diffstat (limited to 'win32/Makefile.bcb')
-rw-r--r-- | win32/Makefile.bcb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/win32/Makefile.bcb b/win32/Makefile.bcb index ab4d080..9b949cc 100644 --- a/win32/Makefile.bcb +++ b/win32/Makefile.bcb @@ -248,12 +248,22 @@ install : all copy $(BINDIR)\$(XML_IMP) "$(LIBPREFIX)" copy $(BINDIR)\*.exe "$(BINPREFIX)" +install-bindist : all + if not exist "$(INCPREFIX)\libxml" mkdir "$(INCPREFIX)\libxml" + if not exist "$(BINPREFIX)" mkdir "$(BINPREFIX)" + if not exist "$(LIBPREFIX)" mkdir "$(LIBPREFIX)" + copy $(XML_SRCDIR)\include\libxml\*.h "$(INCPREFIX)\libxml" + copy $(BINDIR)\$(XML_SO) "$(SOPREFIX)" + copy $(BINDIR)\$(XML_A) "$(LIBPREFIX)" + copy $(BINDIR)\$(XML_IMP) "$(LIBPREFIX)" + copy $(BINDIR)\xml*.exe "$(BINPREFIX)" + # This is a target for me, to make a binary distribution. Not for the public use, # keep your hands off :-) BDVERSION = $(LIBXML_MAJOR_VERSION).$(LIBXML_MINOR_VERSION).$(LIBXML_MICRO_VERSION) BDPREFIX = $(XML_BASENAME)-$(BDVERSION).win32 bindist : all - $(MAKE) /nologo PREFIX=$(BDPREFIX) BINPREFIX=$(BDPREFIX)\util install + $(MAKE) /nologo PREFIX=$(BDPREFIX) SOPREFIX=$(BDPREFIX)\bin install-bindist cscript //NoLogo configure.js genreadme $(XML_BASENAME) $(BDVERSION) $(BDPREFIX)\readme.txt |