Make the Deflate decoder correctly handle the special case of a
[sgt/halibut] / Buildscr
CommitLineData
897cd14d 1# -*- sh -*-
2# Build script to build Halibut releases.
3
c4cf5893 4module halibut
5
897cd14d 6ifnexist halibut/charset checkout charset halibut/charset
7
8set Ver
9ifneq "$(RELEASE)" "" set Ver $(RELEASE)
10ifneq "$(SNAPSHOT)" "" set Ver $(SNAPSHOT)
11
12set Rel
13ifneq "$(RELEASE)" "" set Rel RELEASE=$(RELEASE)
14ifneq "$(SNAPSHOT)" "" set Rel RELEASE=$(SNAPSHOT)
15
16set Basename halibut
17ifneq "$(ver)" "" set Basename halibut-$(Ver)
18
19# Make the source archive.
20in halibut do ./release.sh $(Basename) $(Ver)
21
22# Build a local binary of Halibut in order to build the docs. Make
23# sure to tag it with the supplied version number, so that the
24# release docs announce themselves as having been built with the
25# release Halibut (e.g. PDF's Producer property).
26in halibut do make $(Rel)
27
28# And now build the docs.
29in halibut/doc do make
30
31deliver halibut/*.tar.gz $@
32deliver halibut/doc/halibut.pdf $@
33deliver halibut/doc/halibut.txt $@
34deliver halibut/doc/*.html $@
35
36# FIXME: it'd be nice to add a Windows delegation here so we can
37# ship a prebuilt Halibut executable. However, that requires a
38# Windows makefile.