[M3devel] picking which files to package?
Olaf Wagner
wagner at elegosoft.com
Sat Apr 17 13:22:14 CEST 2010
You need to set STAGE differently if you want to run make-dist
for different targets on the same machine. It's been done for SOLgnu and
SOLsun, too. If you really want to build concurrently, you also need to
change INSTBASE before sourcing defs.sh.
Olaf
Quoting Jay K <jay.krell at cornell.edu>:
>
> Olaf, any chance you can limit what files are picked up to the
> $TARGET and src directories?
> The I386_DARWIN/AMD64_DARWIN packages I made contain each of other's files
> due to just picking up "everything".
>
> Maybe:
>
> iff -u -r1.26.2.51 make-dist.sh
> --- make-dist.sh 17 Apr 2010 03:55:43 -0000 1.26.2.51
> +++ make-dist.sh 17 Apr 2010 08:05:13 -0000
> @@ -338,12 +338,16 @@
> ) > collection-${c}.html
> echo "collection-${c}.html"
> ARCHIVE="${STAGE}/cm3-bin-ws-${c}-${TARGET}-${CM3VERSION}-${DS}.tgz"
> + a=""
> + for b in ${PKGS}; do
> + a="${a} ${b}/src ${b}/${TARGET}"
> + done
> if [ -z "${NOARCHIVE}" -a "${c}" != "min" ]; then
> "${TAR}" --exclude '*.o' --exclude '*.mo' --exclude '*.io' \
> --exclude '*/CVS/*' --exclude '*/CVS' --exclude '*~' \
> --exclude '*.tar.*' --exclude '*.tgz' --exclude "*/${TARGET}/gcc" \
> --exclude "*/${TARGET}/*/*" \
> - -czf "${ARCHIVE}" collection-${c}.html install.sh setup.txt
> setup.cmd ${PKGS}
> + -czf "${ARCHIVE}" collection-${c}.html install.sh setup.txt
> setup.cmd ${a}
> ls -l "${ARCHIVE}"
> fi
> done
>
>
> - Jay
>
--
Olaf Wagner -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
More information about the M3devel
mailing list