Skip to content

Commit

Permalink
Always add newer files when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
neomilium committed Jan 15, 2013
1 parent f2be582 commit 6b5cd55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions make_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ LIBNFC_AUTOTOOLS_ARCHIVE=libnfc-$LIBNFC_VERSION.tar.gz
echo ">>> Cleaning sources..."
# First, clean what we can
rm -f configure config.h config.h.in
autoreconf -is && ./configure && make distclean
autoreconf -is --force && ./configure && make distclean
git clean -dfX
echo "<<< Sources cleaned."

if [ ! -f $LIBNFC_AUTOTOOLS_ARCHIVE ]; then
echo ">>> Autotooled archive generation..."

# Second, generate dist archive (and test it)
autoreconf -is && ./configure && make distcheck
autoreconf -is --force && ./configure && make distcheck

# Finally, clean up
make distclean
Expand All @@ -40,7 +40,7 @@ if [ ! -f $LIBNFC_DOC_ARCHIVE ]; then
fi

# Build documentation
autoreconf -is && ./configure --enable-doc && make doc || false
autoreconf -is --force && ./configure --enable-doc && make doc || false

# Create archive
cp -r doc/html $LIBNFC_DOC_DIR
Expand Down

0 comments on commit 6b5cd55

Please sign in to comment.