File: Makefile

package info (click to toggle)
yada 0.54
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,132 kB
  • ctags: 115
  • sloc: perl: 3,905; xml: 1,156; makefile: 12
file content (19 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Makefile for generating text file from LyX source

all:	yada.txt yada.pdf

yada.txt: yada.html
	elinks -dump -no-references 1 -no-numbering 1 $< > $@

yada.html: yada.xml
	docbook2html -u $<
	tidy -q -asxhtml -bci -m $@ || test $$? != 2

yada.pdf: yada.xml
	docbook2pdf $<

clean:
	rm -f *.html *.tex *.tmp *.lyx *~

distclean: clean
	rm -f *.txt *.pdf