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