Re: [AD] Volunteer to help make release

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sunday 07 May 2006 10:50, I wrote:
> anyway, I got things to work with the attached modified version of Elias' 
> patch.

No I didn't. I used this one instead. Ignore the previous one.

Evert
Index: fix.sh
===================================================================
--- fix.sh	(revision 5800)
+++ fix.sh	(working copy)
@@ -37,7 +37,7 @@
 proc_filelist()
 {
    # common files.
-   AL_FILELIST=`find . -type f "(" \
+   AL_FILELIST=`find . -type f "(" ! -path "*/.*" ")" -a "(" \
       -name "*.c" -o -name "*.cfg" -o -name "*.cpp" -o -name "*.def" -o \
       -name "*.h" -o -name "*.hin" -o -name "*.in" -o -name "*.inc" -o \
       -name "*.m" -o -name "*.m4" -o -name "*.mft" -o -name "*.s" -o \
Index: misc/zipup.sh
===================================================================
--- misc/zipup.sh	(revision 5800)
+++ misc/zipup.sh	(working copy)
@@ -202,12 +202,19 @@
 
 # build the main zip archive
 echo "Creating $name.zip..."
-cd ..
-if [ -f $name.zip ]; then rm $name.zip; fi
-rm -rf allegro/autom4te*
-find allegro -iname "CVS" -prune -o -iname ".*" -prune -o -iname "*.rej" -prune -o -iname "*.orig" -prune -o -print | zip -9 $name.zip -@
+if [ -f .dist/$name.zip ]; then rm .dist/$name.zip; fi
+rm -rf ./autom4te*
+ZIP_FILES=`find . -type f "(" -path "*/.*" -prune -o -iname "*.rej" \
+    -prune -o -iname "*.orig" -prune -o -print ")"`
+mkdir .dist/allegro
+cp -a --parents $ZIP_FILES .dist/allegro
 
+# from now on, the scripts runs inside .dist
+cd .dist
 
+zip -9  -r $name.zip allegro
+
+
 # generate the manifest file
 echo "Generating allegro.mft..."
 unzip -Z1 $name.zip | sort > allegro/allegro.mft


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/