Skip to content

Commit

Permalink
Another fix for Windows zip generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
neomilium committed Jan 14, 2010
1 parent 99c2a0a commit f057b26
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions make_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ if [ ! -f $LIBNFC_WINDOWS_ARCHIVE ]; then
if [ -d $LIBNFC_WINDOWS_DIR ]; then
rm -rf $LIBNFC_WINDOWS_DIR
fi

mkdir -p $LIBNFC_WINDOWS_DIR

# Export sources
Expand All @@ -42,6 +43,12 @@ if [ ! -f $LIBNFC_WINDOWS_ARCHIVE ]; then
cp LICENSE $LIBNFC_WINDOWS_DIR/
cp README $LIBNFC_WINDOWS_DIR/

# Remove Autotools Makefile.am
find $LIBNFC_WINDOWS_DIR/ -name Makefile.am | xargs rm -f

# Remove CMakeLists.txt
find $LIBNFC_WINDOWS_DIR/ -name CMakeLists.txt | xargs rm -f

# Build archive
zip -r $LIBNFC_WINDOWS_ARCHIVE $LIBNFC_WINDOWS_DIR
rm -rf $LIBNFC_WINDOWS_DIR
Expand Down

0 comments on commit f057b26

Please sign in to comment.