summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_distclean.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-20 15:27:06 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-20 20:20:51 +0000
commitd01c0269b8e5e467f82cd28392579c4c43fe63bc (patch)
tree2e105ff06c5bb57331c42ba9aa4338fe94316dc1 /subr/pkg_distclean.subr
parent49b46005e7f7ebebcf6b43d451918c5462ac28d4 (diff)
downloadmidipix_build-d01c0269b8e5e467f82cd28392579c4c43fe63bc.tar.bz2
midipix_build-d01c0269b8e5e467f82cd28392579c4c43fe63bc.tar.xz
subr/pkg_{autoconf,configure,patch}.subr: reference ${PKG_BASE_DIR} instead of ${WORKDIR}.
subr/pkg_build_dir.subr: {build,install} packages nested within ${PKG_BUILD_DIR}/. subr/pkg_distclean.subr: removed from repository. subr/pkg_{extract,fetch}.subr: {extract,fetch} within ${PKG_BASE_DIR}. subr/pkg_install.subr: install to ../destdir to facilitate post-installation processing. subr/pkg_setup_env.subr: set & create ${PKG_BASE_DIR}. subr/pre_subdirs.subr: always create ${PREFIX}/bin. vars/build.vars: consistently use ${PKG_{PREFIX,MAKE_INSTALL_VNAME,MAKEFLAGS_INSTALL}}. vars/env.vars, *: cleanup.
Diffstat (limited to 'subr/pkg_distclean.subr')
-rw-r--r--subr/pkg_distclean.subr12
1 files changed, 0 insertions, 12 deletions
diff --git a/subr/pkg_distclean.subr b/subr/pkg_distclean.subr
deleted file mode 100644
index 68c09dd4..00000000
--- a/subr/pkg_distclean.subr
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# set -o errexit -o noglob are assumed.
-#
-
-pkg_distclean() {
- if [ "${PKG_SUBDIR}" != "${PKG_BUILD_DIR}" ]; then
- build_fileop rm "${WORKDIR}/${PKG_BUILD_DIR}";
- build_fileop mkdir "${WORKDIR}/${PKG_BUILD_DIR}";
- fi;
-};
-
-# vim:filetype=sh