forked from unpaper/unpaper
/
Makefile.am
80 lines (71 loc) · 4.03 KB
/
Makefile.am
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
bin_PROGRAMS = unpaper
MANPAGE_XSL ?= http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl
unpaper_SOURCES = file.c imageprocess.c imageprocess.h parse.c \
parse.h tools.c tools.h unpaper.c unpaper.h
unpaper_CFLAGS = $(LIBAV_CFLAGS)
unpaper_LDADD = $(LIBAV_LIBS)
dist_doc_DATA = NEWS COPYING README.md AUTHORS
dist_man_MANS = unpaper.1
dist_html_DATA = doc/basic-concepts.md doc/image-processing.md \
doc/file-formats.md
imgdir = $(htmldir)/img
dist_img_DATA = doc/img/blackfilter-detail.png \
doc/img/blackfilter.png doc/img/blurfilter-detail.png \
doc/img/blurfilter.png doc/img/border-align.png \
doc/img/border-scan.png doc/img/deskew-detail1.png \
doc/img/deskew-detail2.png doc/img/deskew.png \
doc/img/documentation.odg doc/img/input-pages.png \
doc/img/layout-templates.png doc/img/mask-center.png \
doc/img/mask-scan-detail1.png \
doc/img/mask-scan-detail2.png doc/img/mask-scan.png \
doc/img/multiple-input-files.png \
doc/img/multiple-output-files.png \
doc/img/noisefilter.png doc/img/output-pages.png \
doc/img/processing-order.png doc/img/sheetspages.png \
doc/img/standard-deviation.png
check_PROGRAMS = compare-image
compare_image_SOURCES = tests/compare-image.c
compare_image_CFLAGS = $(LIBAV_CFLAGS)
compare_image_LDADD = $(LIBAV_LIBS)
TESTS = tests/runtestA1.sh tests/runtestB1.sh tests/runtestB2.sh \
tests/runtestB3.sh tests/runtestC1.sh tests/runtestC2.sh \
tests/runtestC3.sh tests/runtestD1.sh tests/runtestD2.sh \
tests/runtestD3.sh tests/runtestE1.sh tests/runtestE2.sh \
tests/runtestE3.sh tests/runtestF1.sh tests/runtestF2.sh \
tests/runtestF3.sh tests/runtestG1.sh tests/runtestG2.sh \
tests/runtestG3.sh
XFAIL_TESTS = tests/runtestG3.sh
EXTRA_DIST = $(TESTS) tests/imgsrc001.png tests/imgsrc002.png \
tests/imgsrc003.png tests/imgsrc004.png \
tests/imgsrc005.png tests/imgsrcE001.png \
tests/imgsrcE002.png tests/imgsrcE003.png \
tests/goldenA1.pbm tests/goldenB1.ppm tests/goldenB2.ppm \
tests/goldenB3.ppm tests/goldenC1.pbm tests/goldenC2.pbm \
tests/goldenC3.pbm tests/goldenD1.ppm tests/goldenD2.ppm \
tests/goldenD3.ppm tests/goldenE001.pbm \
tests/goldenE002.pbm tests/goldenE003.pbm \
tests/goldenE004.pbm tests/goldenE005.pbm \
tests/goldenE006.pbm tests/goldenE201.pbm \
tests/goldenE202.pbm tests/goldenE301.pbm \
tests/goldenE302.pbm tests/goldenF11.pbm \
tests/goldenF21.pbm tests/goldenF3.pbm \
tests/goldenG1.pbm tests/goldenG2.pbm tests/goldenG3.pbm \
.dir-locals.el
CLEANFILES = tests/.dirstamp tests/resultsA1.pbm tests/resultsB1.ppm \
tests/resultsB2.ppm tests/resultsB3.ppm \
tests/resultsC1.pbm tests/resultsC2.pbm \
tests/resultsC3.pbm tests/resultsD1.ppm \
tests/resultsD2.ppm tests/resultsD3.ppm \
tests/resultsE001.pbm tests/resultsE002.pbm \
tests/resultsE003.pbm tests/resultsE004.pbm \
tests/resultsE005.pbm tests/resultsE006.pbm \
tests/resultsE201.pbm tests/resultsE202.pbm \
tests/resultsE301.pbm tests/resultsE302.pbm \
tests/resultsF11.pbm tests/resultsF21.pbm \
tests/resultsF3.pbm tests/resultsG1.pbm \
tests/resultsG2.pbm tests/resultsG3.pbm
%.1: %.1.xml
$(AM_V_GEN)$(XSLTPROC) \
--stringparam man.copyright.section.enable 0 \
--stringparam man.authors.section.enabled 0 \
$(MANPAGE_XSL) $<