summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-22 08:52:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-22 08:52:55 +0200
commit7e5643c148de10f1f28b72b4bccf0b261980187f (patch)
treefe85628258368257d030670287df9b6652845d40
parentd3c7223de70ff58b8615d5d01d9ddf2566920446 (diff)
add back DEVELOPER=1 feature
-rw-r--r--BSDmakefile2
-rw-r--r--GNUmakefile2
-rw-r--r--mk/package.mk2
3 files changed, 3 insertions, 3 deletions
diff --git a/BSDmakefile b/BSDmakefile
index d2f530023..9afeaa3af 100644
--- a/BSDmakefile
+++ b/BSDmakefile
@@ -25,7 +25,7 @@ _subdir: ${_subdir_dep}
echo >&2 Error: you must build with “umask 022”, sorry.; \
exit 1; \
fi
- cd ${.CURDIR}/${subdir} && TOPDIR=${.CURDIR} \
+ cd ${.CURDIR}/${subdir} && TOPDIR=${.CURDIR} DEVELOPER=1 \
${GMAKE} VERBOSE=1 ${.MFLAGS} ${_subdir}
. include "${.CURDIR}/prereq.mk"
diff --git a/GNUmakefile b/GNUmakefile
index d87ef5da6..a5c07a331 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -22,7 +22,7 @@ _subdir: ${_subdir_dep}
echo >&2 Error: you must build with “umask 022”, sorry.; \
exit 1; \
fi
- cd ${subdir} && TOPDIR=${TOPDIR} \
+ cd ${subdir} && TOPDIR=${TOPDIR} DEVELOPER=1 \
make VERBOSE=1 ${MAKEFLAGS} ${MAKECMDGOALS}
include prereq.mk
diff --git a/mk/package.mk b/mk/package.mk
index ce11f7066..e69b7866f 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -112,7 +112,7 @@ PKGDESC_$(1)= $(5)
PKGSECT_$(1)= $(6)
IPKG_$(1)= $(PACKAGE_DIR)/$(2)_$(3)_${CPU_ARCH}.${PKG_SUFFIX}
IDIR_$(1)= $(WRKDIR)/fake-${CPU_ARCH}/pkg-$(2)
-ifneq (${ADK_PACKAGE_$(1)},)
+ifneq (${ADK_PACKAGE_$(1)}${DEVELOPER},)
ALL_IPKGS+= $$(IPKG_$(1))
ALL_IDIRS+= $${IDIR_$(1)}
ALL_POSTINST+= $(2)-install