summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/am
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-03-11 09:43:11 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-03-11 09:43:11 +0000
commitdb15bf75f4fe767109ca2f85bded38eb58499ff9 (patch)
tree73142c9150fc6942e7e84f88a7c1bda7b71d067d /Build/source/texk/web2c/am
parent74f14e423ec82264d5a1e9901e2bfd377af44d84 (diff)
more robust bootstrapping of tangle/ctangle
git-svn-id: svn://tug.org/texlive/trunk@17420 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/am')
-rw-r--r--Build/source/texk/web2c/am/bootstrap.am12
1 files changed, 7 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/am/bootstrap.am b/Build/source/texk/web2c/am/bootstrap.am
index 13bf32dfd56..0b9a3036732 100644
--- a/Build/source/texk/web2c/am/bootstrap.am
+++ b/Build/source/texk/web2c/am/bootstrap.am
@@ -1,6 +1,6 @@
## texk/web2c/am/bootstrap.am: Makefile fragment for tangle and ctangle.
##
-## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+## Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
# Bootstrapping tangle requires making it with itself. We use the opportunity
@@ -38,8 +38,8 @@ tangleboot.c tangleboot.h: tangleboot-web2c
tangleboot-web2c: tangleboot.p $(web2c_depend)
@$(web2c) tangleboot
# tangleboot.pin is in the distribution
-tangleboot.p:
- cp -f $(srcdir)/$@in $@
+.pin.p:
+ cp -f $< $@
tangleboot_DEPENDENCIES = $(default_dependencies)
EXTRA_DIST += tangleboot.pin
DISTCLEANFILES += tangleboot.c tangleboot.h tangleboot.p tangleboot-web2c
@@ -70,8 +70,10 @@ noinst_PROGRAMS += ctangleboot
nodist_ctangleboot_SOURCES = ctangleboot.c cwebboot.c
$(ctangleboot_OBJECTS): cwebboot.h
# ctangleboot.cin and cwebboot.[ch]in are in the distribution
-ctangleboot.c cwebboot.c cwebboot.h:
- cp -f $(srcdir)/$@in $@
+.cin.c:
+ cp -f $< $@
+.hin.h:
+ cp -f $< $@
ctangleboot_DEPENDENCIES = $(default_dependencies)
EXTRA_DIST += ctangleboot.cin cwebboot.cin cwebboot.hin
DISTCLEANFILES += ctangleboot.c cwebboot.c cwebboot.h