tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

${SUBDIR} rules in top-level/category Makefiles



Hi all,
the addition of fetch in net/Makefile showed an interested problem.
Currently there is a target to allow "make misc" in the top-level,
but it doesn't work correctly here (due to using double full path).
This broke as fetch is now both an explicit target and implicit via that
rule.

Does anyone know what this rule is for? Otherwise I would like to just
remove it as it doesn't work.

Joerg
Index: bsd.pkg.subdir.mk
===================================================================
RCS file: /home/joerg/repo/netbsd/pkgsrc/mk/bsd.pkg.subdir.mk,v
retrieving revision 1.69
diff -u -p -r1.69 bsd.pkg.subdir.mk
--- bsd.pkg.subdir.mk   13 Oct 2007 11:04:16 -0000      1.69
+++ bsd.pkg.subdir.mk   8 Oct 2008 17:29:20 -0000
@@ -65,14 +65,6 @@ _SUBDIRUSE: .USE
                fi; \
        done
 
-${SUBDIR}::
-       @if [ -d ${.TARGET}.${MACHINE} ]; then \
-               cd ${.CURDIR}/${.TARGET}.${MACHINE}; \
-       else \
-               cd ${.CURDIR}/${.TARGET}; \
-       fi; \
-       ${RECURSIVE_MAKE} ${MAKEFLAGS} all
-
 .for __target in all fetch package extract configure build clean \
                cleandir distclean depend describe reinstall tags checksum \
                makedistinfo makepatchsum makesum mirror-distfiles deinstall \


Home | Main Index | Thread Index | Old Index