aboutsummaryrefslogtreecommitdiff
path: root/gcc/treelang/Make-lang.in
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2003-07-04 19:45:55 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2003-07-04 12:45:55 -0700
commit8c90b13a229399354769a5cee7a7872d21de23bb (patch)
tree7a55ee9c7a472ff31005d82e86c69df98dc72504 /gcc/treelang/Make-lang.in
parent72d4a2ad78d24c8b81335ad3651c4c8a03f5f1de (diff)
downloadgcc-8c90b13a229399354769a5cee7a7872d21de23bb.zip
gcc-8c90b13a229399354769a5cee7a7872d21de23bb.tar.gz
gcc-8c90b13a229399354769a5cee7a7872d21de23bb.tar.bz2
Makefile.tpl: Replace PWD with PWD_COMMAND.
2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Makefile.tpl: Replace PWD with PWD_COMMAND. * Makefile.in: Regenerated. gcc/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * config-ml.in: Replace PWD with PWD_COMMAND. * Makefile.in: Likewise. gcc/ada/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in: Replace PWD with PWD_COMMAND. * Makefile.adalib: Likewise. * Makefile.in: Likewise. gcc/treelang/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in: Replace PWD with PWD_COMMAND. libf2c/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in: Replace PWD with PWD_COMMAND. libstdc++-v3/ 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Replace PWD with PWD_COMMAND. * Makefile.in: Regenerated. * docs/html/Makefile: Likewise. From-SVN: r68931
Diffstat (limited to 'gcc/treelang/Make-lang.in')
-rw-r--r--gcc/treelang/Make-lang.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/treelang/Make-lang.in b/gcc/treelang/Make-lang.in
index 40f4466..b6ce0fe 100644
--- a/gcc/treelang/Make-lang.in
+++ b/gcc/treelang/Make-lang.in
@@ -156,7 +156,7 @@ treelang.dvi: $(srcdir)/treelang/treelang.texi \
$(srcdir)/doc/include/gpl.texi \
$(srcdir)/doc/include/fdl.texi \
$(srcdir)/doc/include/funding.texi
- s=`cd $(srcdir); ${PWD}`; export s; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
cd treelang && $(TEXI2DVI) -I $$s/doc/include $$s/treelang/treelang.texi
treelang.generated-manpages:
@@ -293,23 +293,23 @@ treelang.check: $(TESTSUITEDIR)/site.exp
# patch files for new empty files as required for cvs.
# STAMP does not cut it here as I need an empty file.
touch $(srcdir)/testsuite/treelang/{a01gcco01runpgmerr,a01gcc.out01,a01gcc.out01err}
- -rootme=`${PWD}`; export rootme; \
- srcdir=`cd ${srcdir}; ${PWD}` ; export srcdir ; \
+ -rootme=`${PWD_COMMAND}`; export rootme; \
+ srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \
cd testsuite; \
EXPECT=${EXPECT} ; export EXPECT ; \
TRANSFORM=$(program_transform_name); export TRANSFORM; \
if [ -f $${rootme}/../expect/expect ] ; then \
- TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWD}` ; \
+ TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
export TCL_LIBRARY ; fi ; \
- PATH=`cd ..;${PWD}`:$$PATH; export PATH; \
- gcc_extras="-B`cd ..;${PWD}` -B`cd ..;${PWD}`/treelang"; export gcc_extras; \
+ PATH=`cd ..;${PWD_COMMAND}`:$$PATH; export PATH; \
+ gcc_extras="-B`cd ..;${PWD_COMMAND}` -B`cd ..;${PWD_COMMAND}`/treelang"; export gcc_extras; \
$(RUNTEST) --tool treelang $(RUNTESTFLAGS)
rm $(srcdir)/testsuite/treelang/{a01gcco01runpgmerr,a01gcc.out01,a01gcc.out01err}
# GCC_EXTRAS="$(GCC_EXTRAS)"; export GCC_EXTRAS; \
# copy the output files from the current test to source ie say the new results are OK
treelang.check.fix: force
- srcdir=`cd ${srcdir}; ${PWD}` ; export srcdir ;
+ srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ;
-cp testsuite/treelang/*.out* t
-cp testsuite/treelang/*runpgm* t
-rm -f t/*nofilename