This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

posix/Makefile


The last change for make check in posix/Makefile is not enough when
$(srcdir) is relative.

2000-11-10  Andreas Schwab  <schwab@suse.de>

	* posix/Makefile (tst-dir-ARGS): Also handle the case when
	$(srcdir) is relative.

--- posix/Makefile.~1.110.~	Thu Nov  9 23:55:54 2000
+++ posix/Makefile	Fri Nov 10 00:29:27 2000
@@ -114,7 +114,9 @@
 
 tst-exec-ARGS = -- $(built-program-cmd)
 tst-spawn-ARGS = -- $(built-program-cmd)
-tst-dir-ARGS = `pwd` `cd $(common-objdir)/$(subdir); pwd` `cd $(common-objdir); pwd` $(objpfx)tst-dir
+tst-dir-ARGS = `pwd` `$(patsubst %/,cd %; ,$(objpfx))pwd` \
+	       `cd $(common-objdir); pwd` \
+	       `$(patsubst %/,cd %; ,$(objpfx))pwd`/tst-dir
 tst-chmod-ARGS = $(objpfx)
 
 tst-fnmatch-ENV = LOCPATH=$(common-objpfx)localedata

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]