]> www.ginac.de Git - ginac.git/commitdiff
Added CLEANFILES. release_1-4-0
authorJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Sat, 1 Sep 2007 01:02:09 +0000 (01:02 +0000)
committerJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Sat, 1 Sep 2007 01:02:09 +0000 (01:02 +0000)
doc/examples/Makefile.am

index c88a8212f19a2e4eefbdb7ae9a3fa8d158fb04cb..aaa665c40bd6f42107f7afe4ce9259482c748093 100644 (file)
@@ -2,12 +2,16 @@
 
 EXFILES = archive1.cpp
 
 
 EXFILES = archive1.cpp
 
-TEXINFO_TEX = ../tutorial/texinfo.tex
+TEXI = ginac-examples.texi
 
 
-info_TEXINFOS = ginac-examples.texi
+info_TEXINFOS = $(TEXI)
+
+TXT = $(addsuffix .txt, $(basename $(TEXI)))
 
 all: $(EXFILES)
 
 all: $(EXFILES)
-       ${MAKEINFO} --no-split --no-headers $(srcdir)/ginac-examples.texi > ginac-examples.txt
-       ${MAKEINFO} --no-split --html $(srcdir)/ginac-examples.texi
+       ${MAKEINFO} --no-split --no-headers $(srcdir)/$(TEXI) > $(TXT)
+       ${MAKEINFO} --no-split --html $(srcdir)/$(TEXI)
+
+CLEANFILES = $(TXT)
 
 EXTRA_DIST = $(EXFILES)
 
 EXTRA_DIST = $(EXFILES)