blob: 1b7fdcfdd01564979082dfd07b51595606e9e321 (
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
58
59
60
61
62
63
|
# Makefile.in for lacheck -- S Rahtz s.rahtz@elsevier.co.uk. Public domain.
# @configure_input@
# Remember to change when lacheck is updated.
REV = 1.26
version = 1.0
kpse_include ../make/paths.mk
kpse_include ../make/common.mk
kpse_include ../make/programs.mk
LEX = @LEX@
LEXLIB = @LEXLIB@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
prog_cflags = -DUNIX -DNeedFunctionPrototypes
program = lacheck
objects = $(LEX_OUTPUT_ROOT).o
programs = $(program)
default: $(program)
all: $(program)
$(program): $(objects)
$(kpathsea_link) $(objects) $(LEXLIB)
install: install-exec install-data
uninstall: uninstall-exec uninstall-data
install-exec: all
$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
uninstall-exec:
for p in $(programs); do rm -f $(bindir)/$$p; done
install-data: lacheck.1
$(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir)
$(INSTALL_DATA) lacheck.1 $(man1dir)/lacheck.1
uninstall-data:
rm -f $(man1dir)/lacheck.1
lacheck.1: lacheck.man
-sed -e "s!%%LACHECKREV%%!Release $(REV)!" $(srcdir)/lacheck.man |\
sed -e "s!%%LACHECKDATE%%!`date +%D`!" |\
sed -e "s!%%LACHECKPATH%%!lacheck!" > $@
kpse_include ../make/dist.mk
kpse_include ../make/config.mk
check info dvi:
kpse_include ../make/clean.mk
clean::
rm -f $(LEX_OUTPUT_ROOT).c lacheck.1
$(LEX_OUTPUT_ROOT).c: lacheck.lex
$(LEX) $(srcdir)/lacheck.lex
kpse_include ../make/rdepend.mk
kpse_include depend.mk
|