diff options
author | Trumeet <yuuta@yuuta.moe> | 2023-03-02 22:21:16 -0800 |
---|---|---|
committer | Trumeet <yuuta@yuuta.moe> | 2023-03-02 22:21:16 -0800 |
commit | c1d2c903396f484ab67be0a1e47cbd63d3357185 (patch) | |
tree | 99a780a9275de91b4435cc457a1ffdfcde1bdf02 | |
parent | 33e56f79c60078d754f45e02cfc04e6e29955f8b (diff) | |
download | www-c1d2c903396f484ab67be0a1e47cbd63d3357185.tar www-c1d2c903396f484ab67be0a1e47cbd63d3357185.tar.gz www-c1d2c903396f484ab67be0a1e47cbd63d3357185.tar.bz2 www-c1d2c903396f484ab67be0a1e47cbd63d3357185.zip |
Use Makefile
-rwxr-xr-x | build | 7 | ||||
-rw-r--r-- | neo2/Makefile | 9 |
2 files changed, 14 insertions, 2 deletions
@@ -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/ diff --git a/neo2/Makefile b/neo2/Makefile new file mode 100644 index 0000000..47998d9 --- /dev/null +++ b/neo2/Makefile @@ -0,0 +1,9 @@ +.POSIX: +index.html: index.tex + make4ht -x -f xhtml index.tex + +install: + cp *.html *.css *.gif *.png *.jpg $(DISTDIR)/ + +clean: + rm -f *.html index*css *.4ct *.4tc *.aux. *.idv *.lg *.log *.tmp *.xdv *.xref |