Commit f057b26a authored by Romuald Conty's avatar Romuald Conty

Another fix for Windows zip generation.

parent 99c2a0aa
......@@ -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
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment