Changeset View
Changeset View
Standalone View
Standalone View
release/Makefile
| Context not available. | |||||
| # Define OSRELEASE by using newvers.sh | # Define OSRELEASE by using newvers.sh | ||||
| .if !defined(OSRELEASE) || empty(OSRELEASE) | .if !defined(OSRELEASE) || empty(OSRELEASE) | ||||
| .for _V in TYPE BRANCH REVISION | .for _V in TYPE BRANCH REVISION | ||||
| ${_V}!= eval $$(awk '/^${_V}=/{print}' ${.CURDIR:H}/sys/conf/newvers.sh); echo $$${_V} | ${_V}!= eval $$(/bin/sh ${SRCTOP}/sys/conf/newvers.sh -V ${_V}); echo $$${_V} | ||||
| .endfor | .endfor | ||||
| .for _V in ${TARGET_ARCH} | .for _V in ${TARGET_ARCH} | ||||
| .if !empty(TARGET:M${_V}) | .if !empty(TARGET:M${_V}) | ||||
| Context not available. | |||||
| WSTAGEDIR!= ${IMAKE} -f Makefile.inc1 -C ${WORLDDIR} -V WSTAGEDIR | WSTAGEDIR!= ${IMAKE} -f Makefile.inc1 -C ${WORLDDIR} -V WSTAGEDIR | ||||
| PKG_ABI_FILE= ${WSTAGEDIR}/usr/bin/uname | PKG_ABI_FILE= ${WSTAGEDIR}/usr/bin/uname | ||||
| PKG_ABI= $$(${PKG_CMD} -o ABI_FILE=${PKG_ABI_FILE} config ABI) | PKG_ABI= $$(${PKG_CMD} -o ABI_FILE=${PKG_ABI_FILE} config ABI) | ||||
| OSVERSION= $$(${PKG_CMD} -o ABI_FILE=${PKG_ABI_FILE} config OSVERSION) | |||||
| .endif | .endif | ||||
| .if ${.MAKE.OS} == "FreeBSD" | .if ${.MAKE.OS} == "FreeBSD" | ||||
| Context not available. | |||||
| PKG_ENV+= INSTALL_AS_USER=yes | PKG_ENV+= INSTALL_AS_USER=yes | ||||
| PKG_ENV+= ASSUME_ALWAYS_YES=yes | PKG_ENV+= ASSUME_ALWAYS_YES=yes | ||||
| PKG_ARGS+= -o METALOG=METALOG | PKG_ARGS+= -o METALOG=METALOG | ||||
| PKG_ARGS+= -o ABI=${PKG_ABI} | PKG_ARGS+= -o ABI=${PKG_ABI} -o OSVERSION=${OSVERSION} | ||||
| PKG_ARGS+= -r ${.TARGET} | PKG_ARGS+= -r ${.TARGET} | ||||
| PKG_REPO_ARGS= -o REPOS_DIR=${.CURDIR}/pkg_repos | PKG_REPO_ARGS= -o REPOS_DIR=${.CURDIR}/pkg_repos | ||||
| PKGBASE_REPO_ARGS=-o REPOS_DIR=${.OBJDIR}/pkgbase-repo-dir | PKGBASE_REPO_ARGS=-o REPOS_DIR=${.OBJDIR}/pkgbase-repo-dir | ||||
| Context not available. | |||||
| .if defined(WITH_DVD) && !empty(WITH_DVD) | .if defined(WITH_DVD) && !empty(WITH_DVD) | ||||
| CLEANFILES+= pkg-stage | CLEANFILES+= pkg-stage | ||||
| .endif | .endif | ||||
| CLEANDIRS= dist pkgdb-dvd pkgdb-disc1 pkgbase-repo pkgbase-repo-dir ftp disc1 disc1-disc1 disc1-memstick bootonly bootonly-bootonly bootonly-memstick dvd pkgbase-repo.tar | CLEANDIRS= ${DISTDIR} pkgdb-dvd pkgdb-disc1 pkgbase-repo pkgbase-repo-dir ftp disc1 disc1-disc1 disc1-memstick bootonly bootonly-bootonly bootonly-memstick dvd pkgbase-repo.tar | ||||
| beforeclean: | beforeclean: | ||||
| chflags -R noschg . | chflags -R noschg . | ||||
| .include <bsd.obj.mk> | .include <bsd.obj.mk> | ||||
| Context not available. | |||||