[M3devel] picking which files to package?

Jay K jay.krell at cornell.edu
Sat Apr 17 10:05:39 CEST 2010


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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100417/df648031/attachment-0001.html>


More information about the M3devel mailing list