diff options
-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 |