mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Enhancement of build-docs to remove old files
This commit is contained in:
parent
f80265786d
commit
9d500186d1
@ -4,6 +4,7 @@
|
|||||||
cd /moose/
|
cd /moose/
|
||||||
mkdir -p build/tools
|
mkdir -p build/tools
|
||||||
mkdir -p build/doc
|
mkdir -p build/doc
|
||||||
|
rm -f build/doc/*
|
||||||
|
|
||||||
# Checkout luadocumentor
|
# Checkout luadocumentor
|
||||||
cd /moose/build/tools
|
cd /moose/build/tools
|
||||||
@ -18,7 +19,6 @@ lua luadocumentor.lua -d /moose/build/doc '/moose/Moose Development/Moose'
|
|||||||
|
|
||||||
# Copy generated files in the MOOSE_DOCS repo if it is already there
|
# Copy generated files in the MOOSE_DOCS repo if it is already there
|
||||||
if [ -d /moose/build/MOOSE_DOCS/Documentation ]; then
|
if [ -d /moose/build/MOOSE_DOCS/Documentation ]; then
|
||||||
rm -rf /moose/build/MOOSE_DOCS/Documentation
|
rm -f /moose/build/MOOSE_DOCS/Documentation/*
|
||||||
mkdir -p /moose/build/MOOSE_DOCS/Documentation
|
|
||||||
cp /moose/build/doc/* /moose/build/MOOSE_DOCS/Documentation/
|
cp /moose/build/doc/* /moose/build/MOOSE_DOCS/Documentation/
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user