Applied Bob and Daniel's patches to convert the build system to automake. Added
the maintain directory, containing files that are used for maintenance, but are
not distributed. This is an intermediate step.

1

#/bin/sh

2

3

# Script to make a PCRE release

4

5

if [ ! "$1" ]; then

6

echo "*** Version number missing ***"

7

exit 1

8

fi

9

10

# The name of the release directory

11

12

dir=pcre-$1

13

14

# But sometimes we just want to process the documentation

15

16

if [ "$1" = "doconly" ] ; then

17

doconly=yes

18

fi

19

20

21

# First, sort out the documentation

22

23

cd doc

24

echo Processing documentation

25

26

# Make Text form of the documentation. It needs some mangling to make it