summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Zlatkovic <igor@src.gnome.org>2004-06-09 14:33:54 +0000
committerIgor Zlatkovic <igor@src.gnome.org>2004-06-09 14:33:54 +0000
commit641af352ffc8edce374538182ed74a5cc32d2b80 (patch)
treec9747eacefcdfd4505a696f4ffcc7bc948de599e
parentba59de1fb180f3f5e6b49257113268e26a9f5909 (diff)
downloadlibxslt-641af352ffc8edce374538182ed74a5cc32d2b80.tar.gz
libxslt-641af352ffc8edce374538182ed74a5cc32d2b80.tar.bz2
libxslt-641af352ffc8edce374538182ed74a5cc32d2b80.zip
minor changes for the windows binary package
-rw-r--r--win32/Makefile.mingw2
-rw-r--r--win32/Makefile.msvc17
-rw-r--r--win32/configure.js38
3 files changed, 26 insertions, 31 deletions
diff --git a/win32/Makefile.mingw b/win32/Makefile.mingw
index af83a913..e2353cda 100644
--- a/win32/Makefile.mingw
+++ b/win32/Makefile.mingw
@@ -184,7 +184,7 @@ install : all
BDVERSION = $(LIBXSLT_MAJOR_VERSION).$(LIBXSLT_MINOR_VERSION).$(LIBXSLT_MICRO_VERSION)
BDPREFIX = $(XSLT_BASENAME)-$(BDVERSION).win32
bindist : all
- $(MAKE) PREFIX=$(BDPREFIX) BINPREFIX=$(BDPREFIX)/util install
+ $(MAKE) PREFIX=$(BDPREFIX) SOPREFIX=$(BDPREFIX)/bin install
cscript //NoLogo configure.js genreadme $(XSLT_BASENAME) $(BDVERSION) $(BDPREFIX)\readme.txt
diff --git a/win32/Makefile.msvc b/win32/Makefile.msvc
index d6d9bbb7..638df4aa 100644
--- a/win32/Makefile.msvc
+++ b/win32/Makefile.msvc
@@ -181,12 +181,27 @@ install : all
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)
+
# 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) BINPREFIX=$(BDPREFIX)\util install
+ $(MAKE) /nologo PREFIX=$(BDPREFIX) SOPREFIX=$(BDPREFIX)\bin install-bindist
cscript //NoLogo configure.js genreadme $(XSLT_BASENAME) $(BDVERSION) $(BDPREFIX)\readme.txt
# Makes the compiler output directory.
diff --git a/win32/configure.js b/win32/configure.js
index b6442b68..58ac9430 100644
--- a/win32/configure.js
+++ b/win32/configure.js
@@ -258,36 +258,16 @@ function genReadme(bname, ver, file)
f.WriteLine(" This is " + bname + ", version " + ver + ", binary package for the native Win32/IA32");
f.WriteLine("platform.");
f.WriteBlankLines(1);
- f.WriteLine(" The directory named 'include' contains the header files. Place its");
- f.WriteLine("contents somewhere where it can be found by the compiler.");
- f.WriteLine(" The directory which answers to the name 'lib' contains the static and");
- f.WriteLine("dynamic libraries. Place them somewhere where they can be found by the");
- f.WriteLine("linker. The files whose names end with '_a.lib' are aimed for static");
- f.WriteLine("linking, the other files are lib/dll pairs.");
- f.WriteLine(" The directory called 'util' contains various programs which count as a");
- f.WriteLine("part of " + bname + ".");
+ f.WriteLine(" The files in this package do not require any special installation");
+ f.WriteLine("steps. Extract the contents of the archive whereever you wish and");
+ f.WriteLine("make sure that your tools which use " + bname + " can find it.");
f.WriteBlankLines(1);
- f.WriteLine(" If you plan to develop your own programme, in C, which uses " + bname + ", then");
- f.WriteLine("you should know what to do with the files in the binary package. If you don't,");
- f.WriteLine("know this, then please, please do some research on how to use a");
- f.WriteLine("third-party library in a C programme. The topic belongs to the very basics");
- f.WriteLine("and you will not be able to do much without that knowledge.");
- f.WriteBlankLines(1);
- f.WriteLine(" If you wish to use " + bname + " solely through the supplied utilities, such as");
- f.WriteLine("xmllint or xsltproc, then all you need to do is place the");
- f.WriteLine("contents of the 'lib' and 'util' directories from the binary package in a");
- f.WriteLine("directory on your disc which is mentioned in your PATH environment");
- f.WriteLine("variable. You can use an existing directory which is allready in the");
- f.WriteLine("path, such as 'C:\WINDOWS', or 'C:\WINNT'. You can also create a new");
- f.WriteLine("directory for " + bname + " and place the files there, but be sure to modify");
- f.WriteLine("the PATH environment variable and add that new directory to its list.");
- f.WriteBlankLines(1);
- f.WriteLine(" If you use other software which needs " + bname + ", such as Apache");
- f.WriteLine("Web Server in certain configurations, then please consult the");
- f.WriteLine("documentation of that software and see if it mentions something about");
- f.WriteLine("how it uses " + bname + " and how it expects it to be installed. If you find");
- f.WriteLine("nothing, then the default installation, as described in the previous");
- f.WriteLine("paragraph, should be suficient.");
+ f.WriteLine(" For example, if you want to run the supplied utilities from the command");
+ f.WriteLine("line, you can, if you wish, add the 'bin' subdirectory to the PATH");
+ f.WriteLine("environment variable.");
+ f.WriteLine(" If you want to make programmes in C which use " + bname + ", you'll");
+ f.WriteLine("likely know how to use the contents of this package. If you don't, please");
+ f.WriteLine("refer to your compiler's documentation.");
f.WriteBlankLines(1);
f.WriteLine(" If there is something you cannot keep for yourself, such as a problem,");
f.WriteLine("a cheer of joy, a comment or a suggestion, feel free to contact me using");