forked from euske/pdfminer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
61 lines (50 loc) · 841 Bytes
/
Makefile
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# GNUMakefile for test
RM=rm -f
CMP=cmp
PYTHON=python
PDF2TXT=PYTHONPATH=.. $(PYTHON) ../tools/pdf2txt.py -p1
HTMLS= \
simple1.html \
simple2.html \
dmca.html \
f1040nr.html \
i1040nr.html \
jo.html \
kampo.html \
naacl06-shinyama.html \
nlp2004slides.html
TEXTS= \
simple1.txt \
simple2.txt \
dmca.txt \
f1040nr.txt \
i1040nr.txt \
jo.txt \
kampo.txt \
naacl06-shinyama.txt \
nlp2004slides.txt
XMLS= \
simple1.xml \
simple2.xml \
dmca.xml \
f1040nr.xml \
i1040nr.xml \
jo.xml \
kampo.xml \
naacl06-shinyama.xml \
nlp2004slides.xml
all: htmls texts xmls
clean:
-$(RM) $(HTMLS)
-$(RM) $(TEXTS)
-$(RM) $(XMLS)
htmls: $(HTMLS)
texts: $(TEXTS)
xmls: $(XMLS)
.SUFFIXES: .pdf .html .xml .txt
.pdf.html:
$(PDF2TXT) -t html $< > $@
.pdf.xml:
$(PDF2TXT) -t xml $< > $@
.pdf.txt:
$(PDF2TXT) -t text $< > $@