File: Makefile

package info (click to toggle)
espresso 6.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,068 kB
  • sloc: f90: 447,429; ansic: 52,566; sh: 40,631; xml: 37,561; tcl: 20,077; lisp: 5,923; makefile: 4,503; python: 4,379; perl: 1,219; cpp: 761; fortran: 618; java: 568; awk: 128
file content (30 lines) | stat: -rw-r--r-- 712 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: Makefile,v 1.3 2008-02-18 18:06:30 kokalj Exp $

ROBODOC      = robodoc
ROBODOC_HTML = html

%.pdf : %.tex
	if test ! -f $@ ; then pdflatex $<; fi
	pdflatex $<

default: usage.pdf usage robodoc 

robodoc:
	if test -d $(ROBODOC_HTML) ; then rm -rf $(ROBODOC_HTML) ; fi
	$(ROBODOC)

#	( cd $(ROBODOC_HTML); \
#		cat robodoc.css | sed "s/11pt/16pt/g" - > temp.css; \
#		cat temp.css    | sed "s/10pt/12pt/g" - > robodoc.css; \
#		rm -f temp.css )

usage.pdf: usage.tex

usage: usage.pdf usage.tex
	rm -rf usage/
	latex2html -split 0 usage.tex

clean:
	if test -d $(ROBODOC_HTML) ; then rm -rf $(ROBODOC_HTML); fi
	if test -d usage/ ; then rm -rf usage/; fi
	-rm -f usage.aux usage.log usage.pdf usage.toc *~