mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-05 23:35:48 +03:00
make install cleanup
This commit is contained in:
@@ -166,7 +166,7 @@ distclean : clean
|
|||||||
cmd.exe /C if exist depends.* del depends.*
|
cmd.exe /C if exist depends.* del depends.*
|
||||||
cmd.exe /C if exist Makefile del Makefile
|
cmd.exe /C if exist Makefile del Makefile
|
||||||
|
|
||||||
install : all
|
install-libs : all
|
||||||
cmd.exe /C if not exist $(INCPREFIX)\$(XSLT_BASENAME) mkdir $(INCPREFIX)\$(XSLT_BASENAME)
|
cmd.exe /C if not exist $(INCPREFIX)\$(XSLT_BASENAME) mkdir $(INCPREFIX)\$(XSLT_BASENAME)
|
||||||
cmd.exe /C if not exist $(INCPREFIX)\$(EXSLT_BASENAME) mkdir $(INCPREFIX)\$(EXSLT_BASENAME)
|
cmd.exe /C if not exist $(INCPREFIX)\$(EXSLT_BASENAME) mkdir $(INCPREFIX)\$(EXSLT_BASENAME)
|
||||||
cmd.exe /C if not exist $(BINPREFIX) mkdir $(BINPREFIX)
|
cmd.exe /C if not exist $(BINPREFIX) mkdir $(BINPREFIX)
|
||||||
@@ -179,14 +179,18 @@ install : all
|
|||||||
cmd.exe /C copy $(BINDIR)\$(EXSLT_SO) $(SOPREFIX)
|
cmd.exe /C copy $(BINDIR)\$(EXSLT_SO) $(SOPREFIX)
|
||||||
cmd.exe /C copy $(BINDIR)\$(EXSLT_A) $(LIBPREFIX)
|
cmd.exe /C copy $(BINDIR)\$(EXSLT_A) $(LIBPREFIX)
|
||||||
cmd.exe /C copy $(BINDIR)\$(EXSLT_IMP) $(LIBPREFIX)
|
cmd.exe /C copy $(BINDIR)\$(EXSLT_IMP) $(LIBPREFIX)
|
||||||
|
|
||||||
|
install : install-libs
|
||||||
cmd.exe /C copy $(BINDIR)\*.exe $(BINPREFIX)
|
cmd.exe /C copy $(BINDIR)\*.exe $(BINPREFIX)
|
||||||
|
|
||||||
|
install-dist : install
|
||||||
|
|
||||||
# This is a target for me, to make a binary distribution. Not for the public use,
|
# This is a target for me, to make a binary distribution. Not for the public use,
|
||||||
# keep your hands off :-)
|
# keep your hands off :-)
|
||||||
BDVERSION = $(LIBXSLT_MAJOR_VERSION).$(LIBXSLT_MINOR_VERSION).$(LIBXSLT_MICRO_VERSION)
|
BDVERSION = $(LIBXSLT_MAJOR_VERSION).$(LIBXSLT_MINOR_VERSION).$(LIBXSLT_MICRO_VERSION)
|
||||||
BDPREFIX = $(XSLT_BASENAME)-$(BDVERSION).win32
|
BDPREFIX = $(XSLT_BASENAME)-$(BDVERSION).win32
|
||||||
bindist : all
|
bindist : all
|
||||||
$(MAKE) PREFIX=$(BDPREFIX) SOPREFIX=$(BDPREFIX)/bin install
|
$(MAKE) PREFIX=$(BDPREFIX) SOPREFIX=$(BDPREFIX)/bin install-dist
|
||||||
cscript //NoLogo configure.js genreadme $(XSLT_BASENAME) $(BDVERSION) $(BDPREFIX)\readme.txt
|
cscript //NoLogo configure.js genreadme $(XSLT_BASENAME) $(BDVERSION) $(BDPREFIX)\readme.txt
|
||||||
|
|
||||||
|
|
||||||
|
@@ -167,7 +167,7 @@ distclean : clean
|
|||||||
if exist config.* del config.*
|
if exist config.* del config.*
|
||||||
if exist Makefile del Makefile
|
if exist Makefile del Makefile
|
||||||
|
|
||||||
install : all
|
install-libs : all
|
||||||
if not exist $(INCPREFIX)\$(XSLT_BASENAME) mkdir $(INCPREFIX)\$(XSLT_BASENAME)
|
if not exist $(INCPREFIX)\$(XSLT_BASENAME) mkdir $(INCPREFIX)\$(XSLT_BASENAME)
|
||||||
if not exist $(INCPREFIX)\$(EXSLT_BASENAME) mkdir $(INCPREFIX)\$(EXSLT_BASENAME)
|
if not exist $(INCPREFIX)\$(EXSLT_BASENAME) mkdir $(INCPREFIX)\$(EXSLT_BASENAME)
|
||||||
if not exist $(BINPREFIX) mkdir $(BINPREFIX)
|
if not exist $(BINPREFIX) mkdir $(BINPREFIX)
|
||||||
@@ -180,30 +180,19 @@ install : all
|
|||||||
copy $(BINDIR)\$(EXSLT_SO) $(SOPREFIX)
|
copy $(BINDIR)\$(EXSLT_SO) $(SOPREFIX)
|
||||||
copy $(BINDIR)\$(EXSLT_A) $(LIBPREFIX)
|
copy $(BINDIR)\$(EXSLT_A) $(LIBPREFIX)
|
||||||
copy $(BINDIR)\$(EXSLT_IMP) $(LIBPREFIX)
|
copy $(BINDIR)\$(EXSLT_IMP) $(LIBPREFIX)
|
||||||
|
|
||||||
|
install : install-libs
|
||||||
copy $(BINDIR)\*.exe $(BINPREFIX)
|
copy $(BINDIR)\*.exe $(BINPREFIX)
|
||||||
-copy $(BINDIR)\*.pdb $(BINPREFIX)
|
-copy $(BINDIR)\*.pdb $(BINPREFIX)
|
||||||
|
|
||||||
install-bindist : all
|
install-dist : install
|
||||||
if not exist $(INCPREFIX)\$(XSLT_BASENAME) mkdir $(INCPREFIX)\$(XSLT_BASENAME)
|
|
||||||
if not exist $(INCPREFIX)\$(EXSLT_BASENAME) mkdir $(INCPREFIX)\$(EXSLT_BASENAME)
|
|
||||||
if not exist $(BINPREFIX) mkdir $(BINPREFIX)
|
|
||||||
if not exist $(LIBPREFIX) mkdir $(LIBPREFIX)
|
|
||||||
copy $(XSLT_SRCDIR)\*.h $(INCPREFIX)\$(XSLT_BASENAME)
|
|
||||||
copy $(EXSLT_SRCDIR)\*.h $(INCPREFIX)\$(EXSLT_BASENAME)
|
|
||||||
copy $(BINDIR)\$(XSLT_SO) $(SOPREFIX)
|
|
||||||
copy $(BINDIR)\$(XSLT_A) $(LIBPREFIX)
|
|
||||||
copy $(BINDIR)\$(XSLT_IMP) $(LIBPREFIX)
|
|
||||||
copy $(BINDIR)\$(EXSLT_SO) $(SOPREFIX)
|
|
||||||
copy $(BINDIR)\$(EXSLT_A) $(LIBPREFIX)
|
|
||||||
copy $(BINDIR)\$(EXSLT_IMP) $(LIBPREFIX)
|
|
||||||
copy $(BINDIR)\*.exe $(BINPREFIX)
|
|
||||||
|
|
||||||
# This is a target for me, to make a binary distribution. Not for the public use,
|
# This is a target for me, to make a binary distribution. Not for the public use,
|
||||||
# keep your hands off :-)
|
# keep your hands off :-)
|
||||||
BDVERSION = $(LIBXSLT_MAJOR_VERSION).$(LIBXSLT_MINOR_VERSION).$(LIBXSLT_MICRO_VERSION)
|
BDVERSION = $(LIBXSLT_MAJOR_VERSION).$(LIBXSLT_MINOR_VERSION).$(LIBXSLT_MICRO_VERSION)
|
||||||
BDPREFIX = $(XSLT_BASENAME)-$(BDVERSION).win32
|
BDPREFIX = $(XSLT_BASENAME)-$(BDVERSION).win32
|
||||||
bindist : all
|
bindist : all
|
||||||
$(MAKE) /nologo PREFIX=$(BDPREFIX) SOPREFIX=$(BDPREFIX)\bin install-bindist
|
$(MAKE) /nologo PREFIX=$(BDPREFIX) SOPREFIX=$(BDPREFIX)\bin install-dist
|
||||||
cscript //NoLogo configure.js genreadme $(XSLT_BASENAME) $(BDVERSION) $(BDPREFIX)\readme.txt
|
cscript //NoLogo configure.js genreadme $(XSLT_BASENAME) $(BDVERSION) $(BDPREFIX)\readme.txt
|
||||||
|
|
||||||
# Makes the compiler output directory.
|
# Makes the compiler output directory.
|
||||||
|
Reference in New Issue
Block a user