Merge pull request #8 from sgilda/fix-target-build-scripts

Fix build scripts that build the target documentation
This commit is contained in:
Jen Malloy 2017-02-27 10:27:03 -05:00 committed by GitHub
commit 1519a0d805
6 changed files with 42 additions and 6 deletions

View file

@ -32,9 +32,15 @@ if [ ! -d target ]; then
exit
fi
# Remove the guide directory path from the master.adoc file as it is not needed
echo ""
echo "Removing the guide directory path from the master.adoc file as it is not needed."
echo "NOTE: This should really be done in the Python script!"
find . -name 'master.adoc' -print | xargs sed -i 's/include::securing_apps\//include::/g'
# Remove the html and build directories and then recreate the html/images/ directory
if [ -d target/html ]; then
- rm -r target/html/
rm -r target/html/
fi
if [ -d target/html ]; then
rm -r target/html/

View file

@ -32,9 +32,15 @@ if [ ! -d target ]; then
exit
fi
# Remove the guide directory path from the master.adoc file as it is not needed
echo ""
echo "Removing the guide directory path from the master.adoc file as it is not needed."
echo "NOTE: This should really be done in the Python script!"
find . -name 'master.adoc' -print | xargs sed -i 's/include::securing_apps\//include::/g'
# Remove the html and build directories and then recreate the html/images/ directory
if [ -d target/html ]; then
- rm -r target/html/
rm -r target/html/
fi
if [ -d target/html ]; then
rm -r target/html/

View file

@ -32,9 +32,15 @@ if [ ! -d target ]; then
exit
fi
# Remove the guide directory path from the master.adoc file as it is not needed
echo ""
echo "Removing the guide directory path from the master.adoc file as it is not needed."
echo "NOTE: This should really be done in the Python script!"
find . -name 'master.adoc' -print | xargs sed -i 's/include::securing_apps\//include::/g'
# Remove the html and build directories and then recreate the html/images/ directory
if [ -d target/html ]; then
- rm -r target/html/
rm -r target/html/
fi
if [ -d target/html ]; then
rm -r target/html/

View file

@ -32,9 +32,15 @@ if [ ! -d target ]; then
exit
fi
# Remove the guide directory path from the master.adoc file as it is not needed
echo ""
echo "Removing the guide directory path from the master.adoc file as it is not needed."
echo "NOTE: This should really be done in the Python script!"
find . -name 'master.adoc' -print | xargs sed -i 's/include::securing_apps\//include::/g'
# Remove the html and build directories and then recreate the html/images/ directory
if [ -d target/html ]; then
- rm -r target/html/
rm -r target/html/
fi
if [ -d target/html ]; then
rm -r target/html/

View file

@ -32,9 +32,15 @@ if [ ! -d target ]; then
exit
fi
# Remove the guide directory path from the master.adoc file as it is not needed
echo ""
echo "Removing the guide directory path from the master.adoc file as it is not needed."
echo "NOTE: This should really be done in the Python script!"
find . -name 'master.adoc' -print | xargs sed -i 's/include::securing_apps\//include::/g'
# Remove the html and build directories and then recreate the html/images/ directory
if [ -d target/html ]; then
- rm -r target/html/
rm -r target/html/
fi
if [ -d target/html ]; then
rm -r target/html/

View file

@ -32,9 +32,15 @@ if [ ! -d target ]; then
exit
fi
# Remove the guide directory path from the master.adoc file as it is not needed
echo ""
echo "Removing the guide directory path from the master.adoc file as it is not needed."
echo "NOTE: This should really be done in the Python script!"
find . -name 'master.adoc' -print | xargs sed -i 's/include::securing_apps\//include::/g'
# Remove the html and build directories and then recreate the html/images/ directory
if [ -d target/html ]; then
- rm -r target/html/
rm -r target/html/
fi
if [ -d target/html ]; then
rm -r target/html/