From a277fb9303587330b65a7081c637a1aa651c9d9a Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Thu, 24 Jan 2013 12:40:04 +0000 Subject: finish separation of tl_scripts and linked_scripts git-svn-id: svn://tug.org/texlive/trunk@28928 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/ps2eps/Makefile.in | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Build/source/utils/ps2eps') 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) && \ -- cgit v1.2.3