summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2023-03-02 22:21:16 -0800
committerTrumeet <yuuta@yuuta.moe>2023-03-02 22:21:16 -0800
commitc1d2c903396f484ab67be0a1e47cbd63d3357185 (patch)
tree99a780a9275de91b4435cc457a1ffdfcde1bdf02 /build
parent33e56f79c60078d754f45e02cfc04e6e29955f8b (diff)
downloadwww-c1d2c903396f484ab67be0a1e47cbd63d3357185.tar
www-c1d2c903396f484ab67be0a1e47cbd63d3357185.tar.gz
www-c1d2c903396f484ab67be0a1e47cbd63d3357185.tar.bz2
www-c1d2c903396f484ab67be0a1e47cbd63d3357185.zip
Use Makefile
Diffstat (limited to 'build')
-rwxr-xr-xbuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/build b/build
index e4049f3..38d66c2 100755
--- a/build
+++ b/build
@@ -1,5 +1,8 @@
#!/bin/sh
set -e
+DISTDIR=$(pwd)/dist/
+export DISTDIR
+
mkdir dist/projs
export NODE_OPTIONS=--openssl-legacy-provider
@@ -12,9 +15,9 @@ cd ..
mv projs/dist/* dist/projs
cd neo2/
-make4ht -x -f xhtml index.tex
+make
+make install
cd ..
-mv neo2/*.html neo2/*.css neo2/*.gif neo2/*.png neo2/*.jpg dist/
mv acron dist/