summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/alephdir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-31 11:15:06 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-31 11:15:06 +0000
commit6d5dd95b5e099dd28dae2c52de1e9f470d5e55e5 (patch)
tree010bb59321a957070a9e25d408c1396657815356 /Build/source/texk/web2c/alephdir
parent61612dbb85df6a5a6a54913f9a996da360bcb094 (diff)
better handling of $(EXEEXT)
git-svn-id: svn://tug.org/texlive/trunk@12585 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/alephdir')
-rw-r--r--Build/source/texk/web2c/alephdir/am/aleph.am11
1 files changed, 5 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/alephdir/am/aleph.am b/Build/source/texk/web2c/alephdir/am/aleph.am
index f658f50d07d..6b3ec3846e5 100644
--- a/Build/source/texk/web2c/alephdir/am/aleph.am
+++ b/Build/source/texk/web2c/alephdir/am/aleph.am
@@ -19,11 +19,10 @@ aleph_SOURCES = \
alephdir/alephextra.h \
alephdir/alephmem.h \
alephdir/aleph-pool.h
-## We must create alephd.h before compiling the aleph_SOURCES,
-## but certainly don't want to create alephd.h if Aleph is not built.
-if ALEPH
-$(aleph_SOURCES): alephd.h
-endif ALEPH
+
+## We must create alephd.h before building the aleph_OBJECTS.
+$(aleph_OBJECTS): alephd.h
+
$(aleph_c_h): aleph-web2c
aleph-web2c: aleph.p $(web2c_texmf) alephdir/aleph.defines
$(web2c) aleph
@@ -32,7 +31,7 @@ aleph-web2c: aleph.p $(web2c_texmf) alephdir/aleph.defines
alephextra.c: lib/texmfmp.c alephdir/alephextra.h alephd.h
sed s/TEX-OR-MF-OR-MP/aleph/ $(srcdir)/lib/texmfmp.c >$@
aleph.p aleph.pool: aleph-tangle
-aleph-tangle: otangle aleph.web aleph.ch
+aleph-tangle: otangle$(EXEEXT) aleph.web aleph.ch
$(otangle) aleph aleph
echo timestamp >$@
touch aleph.p aleph.pool