aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-04-12 11:06:35 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-04-12 11:06:35 +0000
commitd30ff2318686b2dfc113b9fd1944bba29720aca2 (patch)
treee01bf7955a7c02ceb943c3b5dc688059f43bdb60 /Makefile
parent19a18df8d0c8c24b3ca9c8e63e55c3a83c16e614 (diff)
downloadports-d30ff2318686b2dfc113b9fd1944bba29720aca2.tar.gz
ports-d30ff2318686b2dfc113b9fd1944bba29720aca2.zip
Change a couple of "make"s to "cd ${.CURDIR} && make"s, otherwise you
will get "make: don't know how to make /usr/ports/INDEX. Stop" type of weird errors when /usr/obj${.CURDIR} exists.
Notes
Notes: svn path=/head/; revision=27460
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 574860414da0..d8738c83dba3 100644
--- a/Makefile
+++ b/Makefile
@@ -53,11 +53,11 @@ PORTSTOP= yes
index:
@rm -f ${.CURDIR}/INDEX
- @make ${.CURDIR}/INDEX
+ @cd ${.CURDIR} && make ${.CURDIR}/INDEX
${.CURDIR}/INDEX:
@echo -n "Generating INDEX - please wait.."
- @make describe ECHO_MSG="echo > /dev/null" | \
+ @cd ${.CURDIR} && make describe ECHO_MSG="echo > /dev/null" | \
perl ${.CURDIR}/Tools/make_index > ${.CURDIR}/INDEX
.if !defined(INDEX_NOSORT)
@sed -e 's./..g' ${.CURDIR}/INDEX | \