summaryrefslogtreecommitdiff
path: root/Build/source/texk/lacheck/Makefile.in
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-17 21:41:51 +0000
committerKarl Berry <karl@freefriends.org>2006-01-17 21:41:51 +0000
commit487ca4806cc046076293cf6cc5fbba0db282bac7 (patch)
tree847b412ab5158dd7bdd7ed7e5a4cc3fbca94be32 /Build/source/texk/lacheck/Makefile.in
parenta3d3111bfe26b8e5f5bc6049dfb2a4ca2edc7881 (diff)
texk 1
git-svn-id: svn://tug.org/texlive/trunk@1485 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/lacheck/Makefile.in')
-rw-r--r--Build/source/texk/lacheck/Makefile.in62
1 files changed, 62 insertions, 0 deletions
diff --git a/Build/source/texk/lacheck/Makefile.in b/Build/source/texk/lacheck/Makefile.in
new file mode 100644
index 00000000000..4db9db6b7c1
--- /dev/null
+++ b/Build/source/texk/lacheck/Makefile.in
@@ -0,0 +1,62 @@
+# Makefile.in for lacheck -- S Rahtz s.rahtz@elsevier.co.uk. Public domain.
+# 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