From dcb1e837224750011f21afa2341b3c6a9b9430de Mon Sep 17 00:00:00 2001 From: Trumeet Date: Thu, 2 Mar 2023 22:30:21 -0800 Subject: Move mkdir(1) to Makefile's --- build | 1 - neo2/Makefile | 1 + projs/Makefile | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) 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)/ -- cgit v1.2.3