Clean up after building doc archive.
This commit is contained in:
parent
abdc67ff4e
commit
1e2ccbf9ff
1 changed files with 6 additions and 5 deletions
|
@ -20,7 +20,7 @@ if [ ! -f $LIBNFC_AUTOTOOLS_ARCHIVE ]; then
|
||||||
autoreconf -vis && ./configure && make dist
|
autoreconf -vis && ./configure && make dist
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
make distclean
|
make distclean
|
||||||
else
|
else
|
||||||
echo "Autotooled archive (GNU/Linux, BSD, etc.) is already done: skipped."
|
echo "Autotooled archive (GNU/Linux, BSD, etc.) is already done: skipped."
|
||||||
fi
|
fi
|
||||||
|
@ -30,9 +30,9 @@ LIBNFC_DOC_DIR=libnfc-doc-$LIBNFC_VERSION
|
||||||
LIBNFC_DOC_ARCHIVE=$LIBNFC_DOC_DIR.zip
|
LIBNFC_DOC_ARCHIVE=$LIBNFC_DOC_DIR.zip
|
||||||
|
|
||||||
if [ ! -f $LIBNFC_DOC_ARCHIVE ]; then
|
if [ ! -f $LIBNFC_DOC_ARCHIVE ]; then
|
||||||
if [ -d $LIBNFC_DOC_DIR ]; then
|
if [ -d $LIBNFC_DOC_DIR ]; then
|
||||||
rm -rf $LIBNFC_DOC_DIR
|
rm -rf $LIBNFC_DOC_DIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build documentation
|
# Build documentation
|
||||||
autoreconf -vis && ./configure --enable-doc && make doc
|
autoreconf -vis && ./configure --enable-doc && make doc
|
||||||
|
@ -42,7 +42,8 @@ if [ ! -f $LIBNFC_DOC_ARCHIVE ]; then
|
||||||
zip -r $LIBNFC_DOC_ARCHIVE $LIBNFC_DOC_DIR
|
zip -r $LIBNFC_DOC_ARCHIVE $LIBNFC_DOC_DIR
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
make distclean
|
rm -rf $LIBNFC_DOC_DIR
|
||||||
|
make distclean
|
||||||
else
|
else
|
||||||
echo "Documentation archive is already done: skipped."
|
echo "Documentation archive is already done: skipped."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue