File: Makefile

package info (click to toggle)
libnanoxml2-java 2.2.3.dfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 988 kB
  • sloc: java: 5,085; xml: 150; makefile: 86; sh: 59
file content (17 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
MAIN=NanoXML-Java
COMPONENTS=NanoXML-Java.tex defs.tex introduction.tex \
           retrieving_data.tex streaming_data.tex
PDFLATEX=/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex

all: $(MAIN).pdf

clean:
	rm -f $(MAIN).pdf $(COMPONENTS:.tex=.aux) $(MAIN).log $(MAIN).toc

$(MAIN).pdf: $(COMPONENTS)
	sed "s/ModDate (D:[0-9]*)/ModDate (D:`date +'%Y%m%d%H%M%S'`)/" \
	        < $(MAIN).tex >$(MAIN).tmp
	mv $(MAIN).tmp $(MAIN).tex
	$(PDFLATEX) $(MAIN).tex
	$(PDFLATEX) $(MAIN).tex >/dev/null 2>&1
	$(PDFLATEX) $(MAIN).tex >/dev/null 2>&1