commit e085142ab1470c56fd5a4cf3b69d6b37020dc0b6
parent 252542c0eb98c0315c7b4d91537227f71788b2d8
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 7 Nov 2019 15:07:42 +0100
Fix the build system of the Solstice page
Diffstat:
2 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/solstice/Makefile b/solstice/Makefile
@@ -27,7 +27,7 @@ SRC = \
default: all
all: ${SRC}
- @sh solstice.sh ${SOLSTICE-VERSION} ${SOLSTICE-ABG} ${SOLSTICE-PP}
+ @sh solstice.sh ${SOLSTICE-VERSION} ${SOLSTICE-ABG}
publish:
rsync -avzr \
diff --git a/solstice/solstice.sh b/solstice/solstice.sh
@@ -19,8 +19,8 @@ set -e
source ../meso-menu.sh
-if [ $# -lt 3 ]; then
- echo "Usage: $0 VERSION ABG-PATH PP-PATH"
+if [ $# -lt 2 ]; then
+ echo "Usage: $0 VERSION ABG-PATH"
exit 1
fi
@@ -29,16 +29,6 @@ if [ ! -f "./downloads/Solstice-$1-GNU-Linux64.tar.gz" ]; then
exit 1
fi
-if [ ! -f "$2/guide.tex" ]; then
- echo "Cannot found the Latex sources of the Solstice ABG."
- exit 1
-fi
-
-if [ ! -f "$3/solpp.c" ]; then
- echo "Cannot found the Solstice-PP sources."
- exit 1
-fi
-
dir_curr=$(pwd) # Current directory
dir_temp=$(mktemp -d) # Working directory
@@ -62,6 +52,10 @@ if [ ! -f downloads/Solstice-ABG.pdf ]; then
do_something=1
ABG=guide
echo "Generate the Solstice Absolute Beginner's Guide"
+ if [ ! -f "$2/guide.tex" ]; then
+ echo "Cannot found the Latex sources of the Solstice ABG."
+ exit 1
+ fi
cd $2
{
pdflatex $ABG.tex;