Output date into the stamp file, so that mercurial's copy of stamp is always newer than the sources; and do not abort if txt2tags wasn't found
This commit is contained in:
parent
7d851b1208
commit
88b07b4b2c
@ -30,7 +30,7 @@ stamp-help: $(t2t_sources) makedocs
|
||||
rm -fr help && \
|
||||
$(mkdir_p) help && \
|
||||
$(srcdir)/makedocs $(srcdir)/medit.t2t && \
|
||||
echo stamp > stamp-help
|
||||
echo `date` > stamp-help
|
||||
|
||||
medit.lo: build-docs
|
||||
prefs.lo: build-docs
|
||||
|
@ -23,6 +23,11 @@ if test ! -e "$outdir"; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
txt2tags --version >/dev/null 2>/dev/null || {
|
||||
echo "*** WARNING: txt2tags has not been found, docs will not be regenerated ***" >&2
|
||||
exit 0
|
||||
}
|
||||
|
||||
generate () {
|
||||
$T2T --outfile=$2 $1 || exit 1
|
||||
(cd "$outdir" && $SPLITY -index $SPLITY_INDEX -page $SPLITY_PAGE $2) || exit 1
|
||||
|
@ -1 +1 @@
|
||||
stamp
|
||||
Fri Sep 5 13:44:58 CDT 2008
|
||||
|
Loading…
x
Reference in New Issue
Block a user