2019-08-25 14:33:43 +02:00
|
|
|
all:
|
2019-08-05 11:23:56 +02:00
|
|
|
make clean
|
2019-08-05 11:19:47 +02:00
|
|
|
mkdir -p build
|
2019-08-25 14:33:43 +02:00
|
|
|
make thesis -B
|
|
|
|
make source-code-bundle -B
|
|
|
|
make public-files -B
|
|
|
|
make benchmarking-build -B
|
|
|
|
|
|
|
|
benchmarking-build:
|
2019-08-06 18:28:09 +02:00
|
|
|
cd ./benchmarking && npm install && npm run build
|
2019-08-05 11:19:47 +02:00
|
|
|
cp -r ./benchmarking/dist ./build/benchmarking
|
2019-08-25 14:33:43 +02:00
|
|
|
|
|
|
|
thesis:
|
|
|
|
cp ./thesis/main.pdf ./build/mt-polygon-simplification.pdf
|
|
|
|
|
|
|
|
public-files:
|
|
|
|
cp -r ./public/* ./build
|
|
|
|
|
|
|
|
source-code-bundle:
|
|
|
|
mkdir -p build
|
|
|
|
cd .. && tar -czf /tmp/mt-polygon-simplification.tar.gz \
|
|
|
|
--exclude-from mt-polygon-simplification/.gitignore \
|
|
|
|
--exclude mt-polygon-simplification/.git \
|
|
|
|
--exclude mt-polygon-simplification/build \
|
|
|
|
--exclude mt-polygon-simplification/deploy.sh \
|
|
|
|
mt-polygon-simplification
|
|
|
|
mv /tmp/mt-polygon-simplification.tar.gz build/
|
2019-08-05 11:23:56 +02:00
|
|
|
|
|
|
|
clean:
|
2019-08-25 14:33:43 +02:00
|
|
|
rm -rf build
|