summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2023-03-02 22:30:21 -0800
committerTrumeet <yuuta@yuuta.moe>2023-03-02 22:30:21 -0800
commitdcb1e837224750011f21afa2341b3c6a9b9430de (patch)
treec4954dd65f9ad2b7aed72121ea25db6107eaf422
parent0de555f1f382976c7d81a2a34eed8b6e489c0316 (diff)
downloadwww-dcb1e837224750011f21afa2341b3c6a9b9430de.tar
www-dcb1e837224750011f21afa2341b3c6a9b9430de.tar.gz
www-dcb1e837224750011f21afa2341b3c6a9b9430de.tar.bz2
www-dcb1e837224750011f21afa2341b3c6a9b9430de.zip
Move mkdir(1) to Makefile's
-rwxr-xr-xbuild1
-rw-r--r--neo2/Makefile1
-rw-r--r--projs/Makefile1
3 files changed, 2 insertions, 1 deletions
diff --git a/build b/build
index 7ba2db4..159f3c4 100755
--- a/build
+++ b/build
@@ -6,7 +6,6 @@ export NODE_OPTIONS=--openssl-legacy-provider
cd projs/
make
-mkdir $DISTDIR/projs
DISTDIR=$DISTDIR/projs/ make install
cd ..
diff --git a/neo2/Makefile b/neo2/Makefile
index 47998d9..3b2af37 100644
--- a/neo2/Makefile
+++ b/neo2/Makefile
@@ -3,6 +3,7 @@ index.html: index.tex
make4ht -x -f xhtml index.tex
install:
+ mkdir -p $(DISTDIR)
cp *.html *.css *.gif *.png *.jpg $(DISTDIR)/
clean:
diff --git a/projs/Makefile b/projs/Makefile
index 2feef7f..90a65d9 100644
--- a/projs/Makefile
+++ b/projs/Makefile
@@ -5,4 +5,5 @@ all:
sed -i "s/\/assets/assets/g" dist/index.html
install:
+ mkdir -p $(DISTDIR)
cp -r dist/* $(DISTDIR)/