summaryrefslogtreecommitdiff
path: root/mk/misc/category.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
commitd24555b9566ee02d84ba1922350235b402515c7f (patch)
tree63343dc34903d1fb65ed820cc0ce4a8a3a2ec0ce /mk/misc/category.mk
parentd80f116517e16381340d12175c78b747eb6c2dec (diff)
downloadpkgsrc-d24555b9566ee02d84ba1922350235b402515c7f.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/category.mk')
-rw-r--r--mk/misc/category.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/misc/category.mk b/mk/misc/category.mk
index b0e3239b448..1a16a11083a 100644
--- a/mk/misc/category.mk
+++ b/mk/misc/category.mk
@@ -1,9 +1,9 @@
-# $NetBSD: category.mk,v 1.1 2007/08/13 08:12:51 rillig Exp $
+# $NetBSD: category.mk,v 1.2 2007/10/13 11:04:18 dsl Exp $
#
# This file contains the variables and targets for category Makefiles.
#
-.include "${.PARSEDIR}/common.mk"
+.include "common.mk"
README.html: .PRECIOUS .PHONY
@> $@.tmp
@@ -42,4 +42,4 @@ README.html: .PRECIOUS .PHONY
@cd ${subdir} && ${RECURSIVE_MAKE} ${MAKEFLAGS} "_THISDIR_=${_THISDIR_}${.CURDIR:T}/" ${_README_TYPE}
.endfor
-.include "${.PARSEDIR}/../bsd.pkg.subdir.mk"
+.include "../bsd.pkg.subdir.mk"