diff options
author | Igor Zlatkovic <igor@src.gnome.org> | 2005-04-06 22:01:57 +0000 |
---|---|---|
committer | Igor Zlatkovic <igor@src.gnome.org> | 2005-04-06 22:01:57 +0000 |
commit | 5879878436bef56218bbdf67f86610dbd111ffa6 (patch) | |
tree | 908f662d2e7365b62f14a4990e22dc42dab02fad /win32 | |
parent | e11b6529e643a45f58ae5391f7be691310882512 (diff) | |
download | libxslt-5879878436bef56218bbdf67f86610dbd111ffa6.tar.gz libxslt-5879878436bef56218bbdf67f86610dbd111ffa6.tar.bz2 libxslt-5879878436bef56218bbdf67f86610dbd111ffa6.zip |
make install cleanup
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.mingw | 8 | ||||
-rw-r--r-- | win32/Makefile.msvc | 21 |
2 files changed, 11 insertions, 18 deletions
diff --git a/win32/Makefile.mingw b/win32/Makefile.mingw index 4d4fde0b..0b2249dd 100644 --- a/win32/Makefile.mingw +++ b/win32/Makefile.mingw @@ -166,7 +166,7 @@ distclean : clean cmd.exe /C if exist depends.* del depends.* 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)\$(EXSLT_BASENAME) mkdir $(INCPREFIX)\$(EXSLT_BASENAME) 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_A) $(LIBPREFIX) cmd.exe /C copy $(BINDIR)\$(EXSLT_IMP) $(LIBPREFIX) + +install : install-libs 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, # keep your hands off :-) BDVERSION = $(LIBXSLT_MAJOR_VERSION).$(LIBXSLT_MINOR_VERSION).$(LIBXSLT_MICRO_VERSION) BDPREFIX = $(XSLT_BASENAME)-$(BDVERSION).win32 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 diff --git a/win32/Makefile.msvc b/win32/Makefile.msvc index 1ea64f0b..16ffbbea 100644 --- a/win32/Makefile.msvc +++ b/win32/Makefile.msvc @@ -167,7 +167,7 @@ distclean : clean if exist config.* del config.* if exist Makefile del Makefile -install : all +install-libs : all 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) @@ -180,30 +180,19 @@ install : all copy $(BINDIR)\$(EXSLT_SO) $(SOPREFIX) copy $(BINDIR)\$(EXSLT_A) $(LIBPREFIX) copy $(BINDIR)\$(EXSLT_IMP) $(LIBPREFIX) + +install : install-libs copy $(BINDIR)\*.exe $(BINPREFIX) -copy $(BINDIR)\*.pdb $(BINPREFIX) -install-bindist : all - 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) +install-dist : install # This is a target for me, to make a binary distribution. Not for the public use, # keep your hands off :-) BDVERSION = $(LIBXSLT_MAJOR_VERSION).$(LIBXSLT_MINOR_VERSION).$(LIBXSLT_MICRO_VERSION) BDPREFIX = $(XSLT_BASENAME)-$(BDVERSION).win32 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 # Makes the compiler output directory. |