1 PARAMS
=-a toc
-a toclevels
=3 -a date
=$(shell date
+%Y-
%m-
%d
) -a numbered
-d book
6 PARAMS
+=-a revision
=$(REVISION
)
8 PARAMS
+=-a revision
=$(shell git describe
)$(shell git diff-index HEAD |grep
'' > /dev
/null
&& echo
'+dirty')
17 @echo
"Usage: make release VERSION=x"
20 tar --owner
=0 --group
=0 --transform
's!^!supybook-$(VERSION)/!' -zcf supybook-
$(VERSION
).
tar.gz index.txt index.html Makefile
27 a2x
$(PARAMS
) -f pdf
$<
30 @
$(RM
) index.html index.pdf
32 .PHONY
: all pdf release release-tar