diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-01-24 12:40:04 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-01-24 12:40:04 +0000 |
commit | a277fb9303587330b65a7081c637a1aa651c9d9a (patch) | |
tree | 71c581dce3a501f808104d58256b92c1fa04abc7 /Build/source/utils | |
parent | 100038fd15e08e73a1c3f7e0b834803e92cb38a8 (diff) |
finish separation of tl_scripts and linked_scripts
git-svn-id: svn://tug.org/texlive/trunk@28928 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils')
-rw-r--r-- | Build/source/utils/ps2eps/Makefile.in | 12 | ||||
-rw-r--r-- | Build/source/utils/psutils/Makefile.in | 11 | ||||
-rw-r--r-- | Build/source/utils/texdoctk/Makefile.in | 11 | ||||
-rw-r--r-- | Build/source/utils/xindy/Makefile.in | 11 |
4 files changed, 33 insertions, 12 deletions
diff --git a/Build/source/utils/ps2eps/Makefile.in b/Build/source/utils/ps2eps/Makefile.in index 4f6afd753e0..24ad4a51aa9 100644 --- a/Build/source/utils/ps2eps/Makefile.in +++ b/Build/source/utils/ps2eps/Makefile.in @@ -453,7 +453,8 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ACLOCAL_AMFLAGS = -I ../../m4 EXTRA_DIST = $(PS2EPS_TREE) $(PS2EPS_TREE)-PATCHES \ - ../../build-aux/relpath $(TESTS) tests/plot.pbm tests/plot.out + $(top_builddir)/../../build-aux/relpath $(TESTS) \ + tests/plot.pbm tests/plot.out AM_CFLAGS = $(WARNING_CFLAGS) bbox_SOURCES = \ $(PS2EPS_TREE)/src/C/bbox.c @@ -1245,9 +1246,14 @@ install-sh-links: # We support native builds, multiplatform or not, as well as distro builds. install-links: - @REL=`$(SHELL) $(srcdir)/../../build-aux/relpath '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \ + @relpath="$(top_srcdir)/../../build-aux/relpath"; \ + test -r $$relpath || { \ + echo 'script_links.am:install-links: could not find relpath script'; \ + exit 1; \ + }; \ + REL=`$(SHELL) $$relpath '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \ if test -z "$$REL"; then \ - echo 'unable to compute relative path for linked $(TYPE) scripts' >&2; \ + echo 'script_links.am:install_links: unable to compute relative path for linked $(TYPE) scripts' >&2; \ exit 1; \ fi; \ cd $(DESTDIR)$(bindir) && \ diff --git a/Build/source/utils/psutils/Makefile.in b/Build/source/utils/psutils/Makefile.in index 9978a9351f3..bca8d359d20 100644 --- a/Build/source/utils/psutils/Makefile.in +++ b/Build/source/utils/psutils/Makefile.in @@ -479,7 +479,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ACLOCAL_AMFLAGS = -I ../../m4 EXTRA_DIST = $(PSUTILS_TREE) $(PSUTILS_TREE)-PATCHES \ - ../../build-aux/relpath $(TESTS) tests/play.ps \ + $(top_builddir)/../../build-aux/relpath $(TESTS) tests/play.ps \ tests/playbook.2 tests/playnup.2 tests/playps.2 \ tests/playres.ps tests/playsel.2 tests/plot.eps \ tests/ploth.eps tests/plotm.eps tests/plotv.eps @@ -1523,9 +1523,14 @@ install-sh-links: # We support native builds, multiplatform or not, as well as distro builds. install-links: - @REL=`$(SHELL) $(srcdir)/../../build-aux/relpath '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \ + @relpath="$(top_srcdir)/../../build-aux/relpath"; \ + test -r $$relpath || { \ + echo 'script_links.am:install-links: could not find relpath script'; \ + exit 1; \ + }; \ + REL=`$(SHELL) $$relpath '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \ if test -z "$$REL"; then \ - echo 'unable to compute relative path for linked $(TYPE) scripts' >&2; \ + echo 'script_links.am:install_links: unable to compute relative path for linked $(TYPE) scripts' >&2; \ exit 1; \ fi; \ cd $(DESTDIR)$(bindir) && \ diff --git a/Build/source/utils/texdoctk/Makefile.in b/Build/source/utils/texdoctk/Makefile.in index 0f8eed50fd7..d70a67ca316 100644 --- a/Build/source/utils/texdoctk/Makefile.in +++ b/Build/source/utils/texdoctk/Makefile.in @@ -230,7 +230,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ACLOCAL_AMFLAGS = -I ../../m4 -EXTRA_DIST = ../../build-aux/relpath +EXTRA_DIST = $(top_builddir)/../../build-aux/relpath perl_scripts = texdoctk scriptsdir = texmf/scripts/texdoctk nodist_bin_SCRIPTS = $(am__append_1) @@ -705,9 +705,14 @@ install-sh-links: # We support native builds, multiplatform or not, as well as distro builds. install-links: - @REL=`$(SHELL) $(srcdir)/../../build-aux/relpath '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \ + @relpath="$(top_srcdir)/../../build-aux/relpath"; \ + test -r $$relpath || { \ + echo 'script_links.am:install-links: could not find relpath script'; \ + exit 1; \ + }; \ + REL=`$(SHELL) $$relpath '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \ if test -z "$$REL"; then \ - echo 'unable to compute relative path for linked $(TYPE) scripts' >&2; \ + echo 'script_links.am:install_links: unable to compute relative path for linked $(TYPE) scripts' >&2; \ exit 1; \ fi; \ cd $(DESTDIR)$(bindir) && \ diff --git a/Build/source/utils/xindy/Makefile.in b/Build/source/utils/xindy/Makefile.in index 388f5146255..5b155f8a7dd 100644 --- a/Build/source/utils/xindy/Makefile.in +++ b/Build/source/utils/xindy/Makefile.in @@ -318,7 +318,7 @@ EXTRA_DIST = README-clisp $(XINDY_TREE)-PATCHES $(XINDY_TREE)/AUTHORS \ $(XINDY_TREE)/make-rules/alphabets/Makefile.am.not-yet \ $(XINDY_TREE)/make-rules/alphabets/lang.defs \ $(XINDY_TREE)/make-rules/alphabets/mk-lang.sh \ - ../../build-aux/relpath + $(top_builddir)/../../build-aux/relpath SUBDIRS = . $(XINDY_TREE) DIST_SUBDIRS = $(SUBDIRS) DISTCLEANFILES = config.force @@ -894,9 +894,14 @@ install-sh-links: # We support native builds, multiplatform or not, as well as distro builds. install-links: - @REL=`$(SHELL) $(srcdir)/../../build-aux/relpath '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \ + @relpath="$(top_srcdir)/../../build-aux/relpath"; \ + test -r $$relpath || { \ + echo 'script_links.am:install-links: could not find relpath script'; \ + exit 1; \ + }; \ + REL=`$(SHELL) $$relpath '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \ if test -z "$$REL"; then \ - echo 'unable to compute relative path for linked $(TYPE) scripts' >&2; \ + echo 'script_links.am:install_links: unable to compute relative path for linked $(TYPE) scripts' >&2; \ exit 1; \ fi; \ cd $(DESTDIR)$(bindir) && \ |