summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-07-11 16:20:24 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-07-11 16:20:24 +0000
commitbb77f2c94f0c4919f37fba6509212aadd09c049d (patch)
treef71a6ccdd99653390bdff159556b74fc7d7a663b
parente18b9c6f8188322479ac25728bfdea79ea675bc5 (diff)
Added readme.txt and release build target
git-svn-id: http://pugixml.googlecode.com/svn/trunk@594 99668b35-9821-0410-8761-19e4c4f06640
-rw-r--r--Jamfile.jam32
-rw-r--r--readme.txt52
2 files changed, 83 insertions, 1 deletions
diff --git a/Jamfile.jam b/Jamfile.jam
index 9bba987..9e41cda 100644
--- a/Jamfile.jam
+++ b/Jamfile.jam
@@ -106,8 +106,9 @@ for CONFIG in $(CONFIGURATIONS)
# documentation
Documentation docs/manual.html : docs/manual.qbk : docs/manual.xsl ;
+Documentation docs/quickstart.html : docs/quickstart.qbk : docs/quickstart.xsl ;
-Alias docs : docs/manual.html ;
+Alias docs : docs/manual.html docs/quickstart.html ;
# samples
for SAMPLE in [ Glob docs/samples : *.cpp ]
@@ -133,3 +134,32 @@ for SAMPLE in [ Glob docs/samples : *.cpp ]
Depends samples : $(EXECUTABLE)_run ;
}
+
+# release
+VERSION = 0.9 ;
+RELEASE_FILES =
+ [ Glob contrib : *.cpp *.hpp ]
+ [ Glob src : *.cpp *.hpp ]
+ [ Glob docs : *.html *.css ]
+ [ Glob docs/samples : *.cpp *.hpp *.xml ]
+ [ Glob docs/images : *.png ]
+ [ Glob docs/manual : *.html ]
+ @("scripts/**":W=:X=svn)
+ readme.txt
+ ;
+
+actions ZipAction
+{
+ zip -q -9 $(<) $(>)
+}
+
+actions TgzAction
+{
+ tar cf $(<:S=) $(>)
+ gzip -9 $(<:S=)
+}
+
+ZipAction pugixml-$(VERSION).zip : $(RELEASE_FILES) ;
+TgzAction pugixml-$(VERSION).tar.gz : $(RELEASE_FILES) ;
+Depends release : pugixml-$(VERSION).zip pugixml-$(VERSION).tar.gz : $(RELEASE_FILES) ;
+NotFile release ;
diff --git a/readme.txt b/readme.txt
new file mode 100644
index 0000000..58026a0
--- /dev/null
+++ b/readme.txt
@@ -0,0 +1,52 @@
+pugixml 0.9 - an XML processing library
+
+Copyright (C) 2006-2010, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
+Report bugs and download new versions at http://code.google.com/p/pugixml/
+
+This is the distribution of pugixml, which is a C++ XML processing library,
+which consists of a DOM-like interface with rich traversal/modification
+capabilities, an extremely fast XML parser which constructs the DOM tree from
+an XML file/buffer, and an XPath 1.0 implementation for complex data-driven
+tree queries. Full Unicode support is also available, with Unicode interface
+variants and conversions between different Unicode encodings (which happen
+automatically during parsing/saving).
+
+The distribution contains the following folders:
+
+ contrib/ - various contributions to pugixml
+
+ docs/ - documentation
+ docs/samples - pugixml usage examples
+ docs/quickstart.html - quick start guide
+ docs/manual.html - complete manual
+
+ scripts/ - project files for IDE/build systems
+
+ src/ - header and source files
+
+ readme.txt - this file.
+
+This library is distributed under the MIT License:
+
+Copyright (c) 2006-2010 Arseny Kapoulkine
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.