mt-polygon-simplification/Makefile
2019-08-25 14:33:43 +02:00

31 lines
755 B
Makefile

all:
make clean
mkdir -p build
make thesis -B
make source-code-bundle -B
make public-files -B
make benchmarking-build -B
benchmarking-build:
cd ./benchmarking && npm install && npm run build
cp -r ./benchmarking/dist ./build/benchmarking
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/
clean:
rm -rf build