2 # Build script to build Halibut releases.
6 ifnexist halibut/charset checkout charset halibut/charset
9 ifneq "$(RELEASE)" "" set Ver $(RELEASE)
10 ifneq "$(SNAPSHOT)" "" set Ver $(SNAPSHOT)
13 ifneq "$(RELEASE)" "" set Rel RELEASE=$(RELEASE)
14 ifneq "$(SNAPSHOT)" "" set Rel RELEASE=$(SNAPSHOT)
17 ifneq "$(ver)" "" set Basename halibut-$(Ver)
19 # Make the source archive.
20 in halibut do ./release.sh $(Basename) $(Ver)
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).
26 in halibut do make $(Rel)
28 # And now build the docs.
29 in halibut/doc do make
31 deliver halibut/*.tar.gz $@
32 deliver halibut/doc/halibut.pdf $@
33 deliver halibut/doc/halibut.txt $@
34 deliver halibut/doc/*.html $@
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