summaryrefslogtreecommitdiff
path: root/libexpat/README-DEV
blob: 0b1c57d71d503ed541ed9d5fc018a1dde333bec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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