Fixed problem with tmkproject's own makefile when both the ".py"
suffixed and unsuffixed versions of the rst* files are present on a
system.
1 parent 84252ac commit 5636df87b7a04e3cc2ec1c0429cf26051b54e65d
@tundra tundra authored on 6 Sep 2012
Showing 1 changed file
View
12
makefile
# All Rights Reserved. For Terms Of Use See: tmkproject-license.txt
#
# For Program Updates See: http://www.tundraware.com/Software/tmkproject
#
# $Id: makefile,v 1.109 2012/06/06 17:37:44 tundra Exp $
# $Id: makefile,v 1.110 2012/09/06 15:39:41 tundra Exp $
 
CVSID='$Id: makefile,v 1.109 2012/06/06 17:37:44 tundra Exp $'
CVSID='$Id: makefile,v 1.110 2012/09/06 15:39:41 tundra Exp $'
 
# Uncomment One Of The Following For Early Releases
 
#EARLY = Alpha
# links from one to the other. Since the project can be checked out
# on any platform, we have to check for this every time we run the
# 'make'. This is irritating.
 
2HTML = $(shell which rst2html.py rst2html | tr '\012' ' ' | awk '{print $1}')
2LATEX = $(shell which rst2latex.py rst2latex | tr '\012' ' ' | awk '{print $1}') --stylesheet=parskip
2ODT = $(shell which rst2odt.py rst2odt | tr '\012' ' ' | awk '{print $1}')
2MAN = $(shell which rst2man.py rst2man | tr '\012' ' ' | awk '{print $1}')
2HTML = $(shell which rst2html.py rst2html | tr '\012' ' ' | awk '{print $$1}')
2LATEX = $(shell which rst2latex.py rst2latex | tr '\012' ' ' | awk '{print $$1}') --stylesheet=parskip
2ODT = $(shell which rst2odt.py rst2odt | tr '\012' ' ' | awk '{print $$1}')
2MAN = $(shell which rst2man.py rst2man | tr '\012' ' ' | awk '{print $$1}')
 
# TeX/LaTeX Processing
 
DVIPS = dvips