Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame subr/ex_setup_subdirs.subr

Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
#
Lucio Andrés Illanes Albornoz (arab, vxp) 802215
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
#
Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
Lucio Andrés Illanes Albornoz (arab, vxp) 32ad21
ex_setup_subdirs() {
Lucio Andrés Illanes Albornoz (arab, vxp) 802215
	local __;
Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
	if [ ${ARG_CLEAN:-0} -eq 1 ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) 32ad21
		ex_log_msg info "-c specified, cleaning prefix...";
Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
		for __ in ${CLEAR_PREFIX_DIRS}; do
Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
			if [ -e ${PREFIX}/${__} ]; then
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
				build_rm ${PREFIX}/${__};
Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
			fi;
Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
		done;
Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
	fi;
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
	pkg_install_files ""					\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		/=${DLCACHEDIR}					\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		/=${WORKDIR}					\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		/=${PREFIX}					\
Lucio Andrés Illanes Albornoz (arab, vxp) d01c02
		/=${PREFIX}/bin					\
Lucio Andrés Illanes Albornoz (arab, vxp) 40d44a
		/=${PREFIX}/lib/pkgconfig			\
Lucio Andrés Illanes Albornoz (arab, vxp) e1f95d
		/=${PREFIX}/share/doc				\
Lucio Andrés Illanes Albornoz (arab, vxp) e1f95d
		/=${PREFIX}/share/info				\
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
		/=${PREFIX}/share/man				\
Lucio Andrés Illanes Albornoz (arab, vxp) 691929
		/=${PREFIX}/${TARGET}/bin			\
Lucio Andrés Illanes Albornoz (arab, vxp) 691929
		/=${PREFIX}/${TARGET}/lib			\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		/=${PREFIX}/x86_64-w64-mingw32			\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		/=${PREFIX_CROSS}				\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		/=${PREFIX_MINIPIX}/bin				\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		/=${PREFIX_NATIVE}				\
Lucio Andrés Illanes Albornoz (arab, vxp) e1f95d
		/=${PREFIX_NATIVE}/share/doc			\
Lucio Andrés Illanes Albornoz (arab, vxp) e1f95d
		/=${PREFIX_NATIVE}/share/info			\
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
		/=${PREFIX_NATIVE}/share/man			\
Lucio Andrés Illanes Albornoz (arab, vxp) 9d3310
		/=${PREFIX_NATIVE}/${TARGET}/lib		\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		@.=${PREFIX}/usr				\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		@.=${PREFIX}/x86_64-w64-mingw32/mingw		\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		/=${PREFIX}/x86_64-w64-mingw32/mingw/include	\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		@.=${PREFIX_NATIVE}/usr				\
Lucio Andrés Illanes Albornoz (arab, vxp) 40d44a
		@../lib/pkgconfig=${PREFIX}/share/pkgconfig	\
Lucio Andrés Illanes Albornoz (arab, vxp) 51127d
		@lib=${PREFIX}/lib64				\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		@bin=${PREFIX_MINIPIX}/lib			\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		@bin=${PREFIX_MINIPIX}/libexec			\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		@bin=${PREFIX_MINIPIX}/share			\
Lucio Andrés Illanes Albornoz (arab, vxp) e1f95d
		@share/doc=${PREFIX}/doc			\
Lucio Andrés Illanes Albornoz (arab, vxp) e1f95d
		@share/info=${PREFIX}/info			\
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
		@share/man=${PREFIX}/man			\
Lucio Andrés Illanes Albornoz (arab, vxp) e1f95d
		@share/doc=${PREFIX_NATIVE}/doc			\
Lucio Andrés Illanes Albornoz (arab, vxp) e1f95d
		@share/info=${PREFIX_NATIVE}/info		\
Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
		@share/man=${PREFIX_NATIVE}/man;
Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
};
Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
Lucio Andrés Illanes Albornoz (arab, vxp) d1adc7
# vim:filetype=sh