summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ptexdir/am/ptex.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/ptexdir/am/ptex.am')
-rw-r--r--Build/source/texk/web2c/ptexdir/am/ptex.am21
1 files changed, 9 insertions, 12 deletions
diff --git a/Build/source/texk/web2c/ptexdir/am/ptex.am b/Build/source/texk/web2c/ptexdir/am/ptex.am
index 9d0b5180824..876474fee69 100644
--- a/Build/source/texk/web2c/ptexdir/am/ptex.am
+++ b/Build/source/texk/web2c/ptexdir/am/ptex.am
@@ -3,18 +3,6 @@
## Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
-## pTeX library
-##
-
-sub_dirs += ptexdir/lib
-pproglib = ptexdir/lib/lib.a
-
-# Rebuild $(pproglib)
-$(pproglib): $(KPATHSEA_DEPEND) ${srcdir}/ptexdir/lib/*.c
- cd ptexdir/lib && $(MAKE) $(AM_MAKEFLAGS)
-## Rebuild libptexenc
-@PTEXENC_RULE@
-
ptex_cppflags = $(PTEXENC_INCLUDES)
ptex_ldadd = $(pproglib) $(PTEXENC_LIBS) $(LDADD)
@@ -25,6 +13,15 @@ p_tangle = WEBINPUTS=.:$(srcdir)/ptexdir:$(srcdir) $(buildenv) $(TANGLE)
DISTCLEANFILES += $(pweb_programs:=.c) $(pweb_programs:=.h) \
$(pweb_programs:=.p) $(pweb_programs:=-web2c) $(pweb_programs:=.web)
+## pTeX library
+##
+pproglib = lib/libp.a
+# Rebuild $(pproglib)
+$(pproglib): $(KPATHSEA_DEPEND) ${srcdir}/lib/*.c
+ cd lib && $(MAKE) $(AM_MAKEFLAGS)
+## Rebuild libptexenc
+@PTEXENC_RULE@
+
## pTeX
##
if PTEX