changeset 9949:5168d902691a octave-forge

makefile simplification
author mmarzolla
date Mon, 02 Apr 2012 20:54:18 +0000
parents b2a07b28b118
children 6bac5657bf9d
files main/queueing/doc/Makefile
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/main/queueing/doc/Makefile	Mon Apr 02 18:16:48 2012 +0000
+++ b/main/queueing/doc/Makefile	Mon Apr 02 20:54:18 2012 +0000
@@ -1,8 +1,8 @@
 DOC=queueing
-CHAPTERS=summary.texi installation.texi markovchains.texi singlestation.texi queueingnetworks.texi conf.texi ack.texi contributing.texi gpl.texi gettingstarted.texi references.texi
-DISTFILES=README INSTALL $(DOC).pdf $(DOC).html $(DOC).texi
+CHAPTERS=$(patsubst %.txi,%.texi,$(wildcard *.txi))
+DISTFILES=README INSTALL $(DOC).pdf $(DOC).html
 
-.PHONY: clean
+.PHONY: clean dist
 
 ALL: pdf html INSTALL
 
@@ -32,7 +32,7 @@
 DOCSTRINGS: $(wildcard ../inst/*.m)
 	(cd ../scripts; ./mkdoc ../inst) > DOCSTRINGS || \rm -f DOCSTRINGS
 
-dist: $(DOC).pdf $(DOC).html
+dist:
 	ln $(DISTFILES) ../`cat ../fname`/doc/
 
 clean: