summaryrefslogtreecommitdiff
path: root/info/digests/tugboat/hyphenex/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'info/digests/tugboat/hyphenex/GNUmakefile')
-rw-r--r--info/digests/tugboat/hyphenex/GNUmakefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/info/digests/tugboat/hyphenex/GNUmakefile b/info/digests/tugboat/hyphenex/GNUmakefile
index b2db17e095..2dbfae0bb1 100644
--- a/info/digests/tugboat/hyphenex/GNUmakefile
+++ b/info/digests/tugboat/hyphenex/GNUmakefile
@@ -1,5 +1,9 @@
+# $Id: GNUmakefile 338 2021-01-10 22:49:48Z karl $
# Public domain. Originally written by Karl Berry, 2008.
+input_tex = tb0hyf.tex # normally
+#input_tex = hyfex-test.tex # one-off test file
+
all: tb0hyf.pdf ushyphex.tex
ushyphex.tex: compare
@@ -11,18 +15,18 @@ check: compare test.tex
compare: pl-ushyphex.tex sh-ushyphex.tex
diff $^
-pl-ushyphex.tex: hyphenex.pl tb0hyf.tex
+pl-ushyphex.tex: hyphenex.pl $(input_tex)
perl $^ >$@ || rm -f $@
-sh-ushyphex.tex: hyphenex.sh tb0hyf.tex
- sh $< <tb0hyf.tex >$@ || rm -f $@
+sh-ushyphex.tex: hyphenex.sh $(input_tex)
+ sh $< <$(input_tex) >$@ || rm -f $@
-tb0hyf.pdf: tb0hyf.tex
- TEXINPUTS=../plain: pdftex '\nonstopmode\input $<'
+tb0hyf.pdf: $(input_tex)
+ TEXINPUTS=../plain: texfot pdftex '\nonstopmode\input $<'
h = hyphenex
dist: all check
rm -f dist.zip
- cd .. && zip $h/dist.zip $h/README $h/GNUmakefile $h/hyphenex.?? \
+ cd .. && zip $h/$h.zip $h/README $h/GNUmakefile $h/hyphenex.?? \
$h/tb0hyf.tex $h/tb0hyf.pdf $h/test.tex $h/ushyphex.tex
# CTAN wants upload to be within a directory.