summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvi2tty/Makefile.am
blob: aa99d31e86b7737b006cf22558bb6c71ced07144 (plain)
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
## Makefile.am for the TeX Live subdirectory texk/dvi2tty/
##
## Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
ACLOCAL_AMFLAGS = -I ../../m4

## We want to re-distribute the whole original dvi2tty source tree.
##
EXTRA_DIST = $(DVI2TTY_TREE)

## Patches applied to the original source tree
##
EXTRA_DIST += $(DVI2TTY_TREE)-PATCHES

# in case of an SVN repository
dist-hook:
	rm -rf `find $(distdir) -name .svn`

INCLUDES = $(KPATHSEA_INCLUDES)
AM_CPPFLAGS = -DKPATHSEA
AM_CFLAGS = $(WARNING_CFLAGS)

LDADD = $(KPATHSEA_LIBS)

bin_PROGRAMS = disdvi dvi2tty

disdvi_SOURCES = \
	$(DVI2TTY_TREE)/commands.h \
	$(DVI2TTY_TREE)/disdvi.c

$(disdvi_OBJECTS): $(KPATHSEA_DEPEND)

dvi2tty_SOURCES = \
	$(DVI2TTY_TREE)/commands.h \
	$(DVI2TTY_TREE)/dvi2tty.c \
	$(DVI2TTY_TREE)/dvi2tty.h \
	$(DVI2TTY_TREE)/dvistuff.c
	
$(dvi2tty_OBJECTS): $(KPATHSEA_DEPEND)

man1_MANS = \
	$(DVI2TTY_TREE)/disdvi.1 \
	$(DVI2TTY_TREE)/dvi2tty.1

## Tests.
##
TESTS = dvi2tty.test

TESTS_ENVIRONMENT = DVI2TTY_TREE=$(DVI2TTY_TREE)
DISTCLEANFILES =
EXTRA_DIST += $(TESTS)

## dvi2tty.test
EXTRA_DIST += ligtest.tty test.tty tests.tty testu.tty
DISTCLEANFILES += ligtest.out test.out tests.out testu.out