]> git.saurik.com Git - bison.git/commitdiff
build: ship the ASCII art figures
authorAkim Demaille <akim@lrde.epita.fr>
Thu, 1 Aug 2013 09:41:49 +0000 (11:41 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 1 Aug 2013 09:41:49 +0000 (11:41 +0200)
We don't ship the *.txt files that are used to build the info
file.
Reported by Colin Daley.

* doc/figs/example.txt: New.
* doc/local.mk (bison.info): Depend on the txt files.
And ship them.

THANKS
doc/figs/example.txt [new file with mode: 0644]
doc/local.mk

diff --git a/THANKS b/THANKS
index 5bf346530e9cb8f7c951995e6129435e3d7df663..321a8b8ac4b0cef82e644b0a513c215acdcb4341 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -25,6 +25,7 @@ Bruce Lilly               blilly@erols.com
 Bruno Haible              bruno@clisp.org
 Charles-Henri de Boysson  de-boy_c@epita.fr
 Christian Burger          cburger@sunysb.edu
 Bruno Haible              bruno@clisp.org
 Charles-Henri de Boysson  de-boy_c@epita.fr
 Christian Burger          cburger@sunysb.edu
+Colin Daley               colin.daley@outlook.com
 Cris Bailiff              c.bailiff+bison@awayweb.com
 Cris van Pelt             cris@amf03054.office.wxs.nl
 Csaba Raduly              csaba_22@yahoo.co.uk
 Cris Bailiff              c.bailiff+bison@awayweb.com
 Cris van Pelt             cris@amf03054.office.wxs.nl
 Csaba Raduly              csaba_22@yahoo.co.uk
diff --git a/doc/figs/example.txt b/doc/figs/example.txt
new file mode 100644 (file)
index 0000000..2fc21ff
--- /dev/null
@@ -0,0 +1,2 @@
+This file is a stub, not used by the documentation.  If you feel like
+contributing ASCII art for example.gv, please step forward!
index c3a35d3b38c267d180207a55d14b9a03296b6e2a..1f7b3b226cbef855b2e9dc8936948cf66a22ff14 100644 (file)
@@ -24,6 +24,7 @@ doc_bison_TEXINFOS =                            \
 # Obfuscate with a variable.
 doc_bison = doc/bison
 $(doc_bison).dvi: $(FIGS_GV:.gv=.eps)
 # Obfuscate with a variable.
 doc_bison = doc/bison
 $(doc_bison).dvi: $(FIGS_GV:.gv=.eps)
+$(doc_bison).info: $(FIGS_GV:.gv=.txt)
 $(doc_bison).pdf: $(FIGS_GV:.gv=.pdf)
 $(doc_bison).html: $(FIGS_GV:.gv=.png)
 
 $(doc_bison).pdf: $(FIGS_GV:.gv=.pdf)
 $(doc_bison).html: $(FIGS_GV:.gv=.png)
 
@@ -128,7 +129,7 @@ FIGS_GV =                                               \
   doc/figs/example.gv                                   \
   doc/figs/example-reduce.gv doc/figs/example-shift.gv
 EXTRA_DIST +=                                                   \
   doc/figs/example.gv                                   \
   doc/figs/example-reduce.gv doc/figs/example-shift.gv
 EXTRA_DIST +=                                                   \
-  $(FIGS_GV)                                                    \
+  $(FIGS_GV) $(FIGS_GV:.gv=.txt)                                \
   $(FIGS_GV:.gv=.eps) $(FIGS_GV:.gv=.pdf) $(FIGS_GV:.gv=.png)
 SUFFIXES += .gv .eps .pdf .png
 
   $(FIGS_GV:.gv=.eps) $(FIGS_GV:.gv=.pdf) $(FIGS_GV:.gv=.png)
 SUFFIXES += .gv .eps .pdf .png