summaryrefslogtreecommitdiff
path: root/Build/source/texk/detex/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/detex/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/detex/Makefile.in')
-rw-r--r--Build/source/texk/detex/Makefile.in51
1 files changed, 51 insertions, 0 deletions
diff --git a/Build/source/texk/detex/Makefile.in b/Build/source/texk/detex/Makefile.in
new file mode 100644
index 00000000000..60face97833
--- /dev/null
+++ b/Build/source/texk/detex/Makefile.in
@@ -0,0 +1,51 @@
+# Makefile.in for detex. Thomas Esser, 2002. Public domain.
+
+all: detex
+
+kpse_include ../make/paths.mk
+kpse_include ../make/common.mk
+kpse_include ../make/programs.mk
+kpse_include ../make/tkpathsea.mk
+
+program = detex
+prog_cflags = -DKPATHSEA
+
+LEX = @LEX@
+LEXLIB = @LEXLIB@
+LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+
+$(program): $(LEX_OUTPUT_ROOT).o $(kpathsea)
+ $(kpathsea_link) $(LEX_OUTPUT_ROOT).o $(LEXLIB) $(LOADLIBES)
+
+$(LEX_OUTPUT_ROOT).c: xxx.l
+ $(LEX) xxx.l
+
+$(LEX_OUTPUT_ROOT).o: $(LEX_OUTPUT_ROOT).c detex.h
+
+xxx.l: states.sed detex.l
+ sed -f $(srcdir)/states.sed $(srcdir)/detex.l > xxx.l
+
+detex.c: xxx.l
+ $(LEX)
+
+
+kpse_include ../make/clean.mk
+clean::
+ rm -f xxx.l $(program) $(LEX_OUTPUT_ROOT).c
+
+distclean::
+ rm -f c-auto.h Makefile config.cache config.log config.status
+
+install: install-exec install-data
+uninstall: uninstall-exec uninstall-data
+install-exec: $(program)
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
+ $(INSTALL_LIBTOOL_PROG) $(program) $(bindir)
+uninstall-exec:
+ rm -f $(bindir)/$(program)
+install-data:
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir)
+ $(INSTALL_DATA) $(srcdir)/detex.man $(man1dir)/detex.$(manext)
+uninstall-data:
+ rm -f $(man1dir)/detex.$(manext)
+depend info dvi check: