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

AM_CFLAGS = $(WARNING_CFLAGS)

bin_PROGRAMS = lacheck

lacheck_SOURCES = lacheck.l

LDADD = $(LEXLIB)

nodist_man1_MANS = lacheck.1

lacheck.1: lacheck.man
	sed -e "s!%%LACHECKREV%%!Release $(REV)!" \
	    -e "s!%%LACHECKDATE%%!`date +%Y-%m-%d`!" \
	    -e "s!%%LACHECKPATH%%!lacheck!" $< > $@

EXTRA_DIST = lacheck.man

CLEANFILES = lacheck.1

dist_check_SCRIPTS = lacheck.test

TESTS = lacheck.test

EXTRA_DIST += test.tex test.out

CLEANFILES += test.xout

## Not used
##
EXTRA_DIST += lacheck.hlp make_vms.com