File: Makefile.am

package info (click to toggle)
unrtf 0.21.5-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 4,940 kB
  • sloc: ansic: 5,022; sh: 4,279; makefile: 112
file content (93 lines) | stat: -rw-r--r-- 2,340 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
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# executable test scripts to perform
TESTS = test_html.sh test_latex.sh 

# the data set for the tests
testdata = \
	Greek1.rtf \
	Greek2.rtf \
	Turkish.rtf \
	accents.rtf \
	ascii_decimal.rtf \
	backslash.rtf \
	body.rtf \
	borders_shading.rtf \
	braces.rtf \
	character_formatting.rtf \
	chars.rtf \
	columns.rtf \
	cp1251-russian-alphabet.rtf \
	font_size.rtf \
	font_styles.rtf \
	lists.rtf \
	paragraph_formatting.rtf \
	pict.rtf \
	quotes.rtf \
	symbol.rtf \
	text_color.rtf \
	text_formatting.rtf \
	unicode4.rtf

# the result set for the html test
testresults_html = \
	Greek1.rtf.html \
	Greek2.rtf.html  \
	Turkish.rtf.html \
	accents.rtf.html \
	ascii_decimal.rtf.html \
        backslash.rtf.html \
	body.rtf.html \
        borders_shading.rtf.html \
        braces.rtf.html \
        character_formatting.rtf.html \
        chars.rtf.html \
        columns.rtf.html \
	cp1251-russian-alphabet.rtf.html \
        font_size.rtf.html \
        font_styles.rtf.html \
        lists.rtf.html \
        paragraph_formatting.rtf.html \
	pict.rtf.html \
	quotes.rtf.html \
        symbol.rtf.html \
        text_color.rtf.html \
        text_formatting.rtf.html \
        unicode4.rtf.html

# the result set for the latex test
testresults_tex = \
	Greek1.rtf.tex \
	Greek2.rtf.tex  \
	Turkish.rtf.tex \
	accents.rtf.tex \
	ascii_decimal.rtf.tex \
        backslash.rtf.tex \
	body.rtf.tex \
        borders_shading.rtf.tex \
        braces.rtf.tex \
        character_formatting.rtf.tex \
        chars.rtf.tex \
        columns.rtf.tex \
	cp1251-russian-alphabet.rtf.tex \
        font_size.rtf.tex \
        font_styles.rtf.tex \
        lists.rtf.tex \
        paragraph_formatting.rtf.tex \
	pict.rtf.tex \
	quotes.rtf.tex \
        symbol.rtf.tex \
        text_color.rtf.tex \
        text_formatting.rtf.tex \
        unicode4.rtf.tex

# need to wipe out test results on make clean
CLEANFILES = $(testresults_html) $(testresults_tex) pict001.wmf

# add the test scripts and the test data to the distributed files
EXTRA_DIST = $(TESTS) $(testdata)

TESTS_ENVIRONMENT = UNRTF=$(top_builddir)/src/unrtf UNRTF_SEARCH_PATH=$(top_builddir)/outputs/

# ensure that the distributed scripts are executable before distribution.
# Could be necessary if checking out CVS.
dist-hook:
	cd $(distdir); for i in $(TESTS); do chmod +x $$i; done