File: Makefile.am

package info (click to toggle)
unpaper 6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 3,500 kB
  • ctags: 306
  • sloc: ansic: 3,339; sh: 1,260; makefile: 77
file content (68 lines) | stat: -rw-r--r-- 3,004 bytes parent folder | download
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
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

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 .dir-locals.el

CLEANFILES = $(check_DATA) 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

tests/.dirstamp:
	$(MKDIR_P) tests
	touch tests/.dirstamp

%.1: %.1.xml
	$(AM_V_GEN)$(XSLTPROC) \
		--stringparam man.copyright.section.enable 0 \
		--stringparam man.authors.section.enabled 0 \
		$(MANPAGE_XSL) $<