summaryrefslogtreecommitdiff
path: root/mk/misc/toplevel.mk
diff options
context:
space:
mode:
authordsl <dsl@pkgsrc.org>2007-10-13 11:04:15 +0000
committerdsl <dsl@pkgsrc.org>2007-10-13 11:04:15 +0000
commit136de523cf9f587ad1d5e4b3057156c4f0743995 (patch)
tree63343dc34903d1fb65ed820cc0ce4a8a3a2ec0ce /mk/misc/toplevel.mk
parent6acc26423fc16815352632042e994342774d2b1d (diff)
downloadpkgsrc-136de523cf9f587ad1d5e4b3057156c4f0743995.tar.gz
Fix the .include lines so that make looks in the right place first.
Remember .include "foo.mk" is looked for (first) in the directory that contains the makefile being processed (like in C), so remove all the ${.PARSEDIR} and ../ sequences that just cause grief.
Diffstat (limited to 'mk/misc/toplevel.mk')
-rw-r--r--mk/misc/toplevel.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/misc/toplevel.mk b/mk/misc/toplevel.mk
index bfddf5968a3..ddb271b43f5 100644
--- a/mk/misc/toplevel.mk
+++ b/mk/misc/toplevel.mk
@@ -1,4 +1,4 @@
-# $NetBSD: toplevel.mk,v 1.3 2007/09/07 22:12:15 jlam Exp $
+# $NetBSD: toplevel.mk,v 1.4 2007/10/13 11:04:19 dsl Exp $
#
# This file contains the make targets that can be used from the
# top-level Makefile. They are in this separate file to keep the
@@ -27,13 +27,13 @@ README.html: .PRECIOUS
@${FALSE}
.endif
-.include "${.PARSEDIR}/../bsd.pkg.subdir.mk"
+.include "../bsd.pkg.subdir.mk"
# the bulk-cache and clean-bulk-cache targets are a global-pkgsrc
# thing and thus it makes sense to run it from the top level pkgsrc
# directory.
.if make(bulk-cache) || make(clean-bulk-cache)
-.include "${.PARSEDIR}/../bulk/bsd.bulk-pkg.mk"
+.include "../bulk/bsd.bulk-pkg.mk"
.endif
.PHONY: ${.CURDIR}/PKGDB