X-Git-Url: https://git.cyclocoop.org/?p=tool%2Fhledger.git;a=blobdiff_plain;f=doc%2Fmake;fp=doc%2Fmake;h=0000000000000000000000000000000000000000;hp=baa921c8b55862248d71338666bddeb7ca7b14a5;hb=707b0a621cd3c97d5d7e22e855272b3f865a2d56;hpb=30e9b83c521f5149836e1ef0b544676370721efe diff --git a/doc/make b/doc/make deleted file mode 100644 index baa921c..0000000 --- a/doc/make +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -efux -tool=$(readlink -e "${0%/*}"/...) - -VERSION=$(which git >/dev/null && - cd "$tool" && - git describe --tags --match 'v[0-9][0-9][0-9][0-9].[0-9][0-9].[0-9][0-9]' --always || - TZ=UTC date +'v%Y.%m.%d') -VERSION=git://git.autogeree.net/tool/hledger - -if test ! -e "$tool"/lib/tool/asciidoc/.git - then - (cd "$tool" && git submodule update --init --recursive -- lib/tool/asciidoc) - (cd "$tool"/lib/tool/asciidoc/ && git checkout -f HEAD && git clean -dfx) - fi - -MAKE=$(which gmake >/dev/null && echo gmake || echo make) - -cd "${0%/*}" -VERSION=${VERSION#v} \ -ASCIIDOC_FLAGS="${ASCIIDOC_FLAGS:+$ASCIIDOC_FLAGS }-a revnumber=$VERSION -a tabsize=0 -a latexmath" \ -conf=etc \ -SRCDIR=. \ -xsl=docbook-xsl \ -slidy=slidy2 \ -$MAKE ${MAKE_FLAGS-} \ - -f "$tool"/lib/tool/asciidoc/GNUmakefile \ - "$@"