summaryrefslogtreecommitdiff
path: root/libexpat/README-DEV
diff options
context:
space:
mode:
Diffstat (limited to 'libexpat/README-DEV')
-rw-r--r--libexpat/README-DEV18
1 files changed, 18 insertions, 0 deletions
diff --git a/libexpat/README-DEV b/libexpat/README-DEV
new file mode 100644
index 0000000..0b1c57d
--- /dev/null
+++ b/libexpat/README-DEV
@@ -0,0 +1,18 @@
+This document describes how libexpat was packaged for build2. In particular,
+this understanding will be useful when upgrading to a new upstream version.
+See ../README-DEV for general notes on Expat packaging.
+
+Symlink the required upstream files:
+
+$ ln -s ../COPYING
+$ pushd libexpat
+$ ln -s ../../upstream/expat/lib/*.{c,h} ./
+$ rm watcomconfig.h winconfig.h
+$ ln -s ../../upstream/expat/lib/libexpat.def libexpat.def.orig
+$ popd
+
+Use some of the upstream's tests for testing:
+
+$ pushd tests/regression/
+$ ln -s ../../../upstream/expat/tests/*.{c,h} ./
+$ popd