Skip to content
Snippets Groups Projects
Verified Commit 9dd500d1 authored by mirabilos's avatar mirabilos Committed by mirabilos
Browse files

move almost everything to the Makefile

parent 77cbd289
No related branches found
No related tags found
No related merge requests found
......@@ -11,14 +11,7 @@
],
"script": [
"make clean",
"make linklist",
"rm -rf public",
"mkdir -p public/foils public/notes",
"cp -r html public/",
"cp foils/the_m_irabilos.png public/foils/",
"cp notes/*.htm public/notes/",
"make clean",
"sed 's!\\.\\./!!g' <build/pages-stub.htm >public/index.html"
"make pages"
],
"stage": "deploy"
}
......
......@@ -40,5 +40,15 @@ linklist:
clean:
-${MAKE} -C tex clean
-${MAKE} -C notes clean
-rm -rf public
.PHONY: all run debug edit export show pdf linklist clean
pages:
${MAKE} -C notes all
${MAKE} -C tex all
mkdir -p public/foils public/notes
cp -r html public/
cp foils/the_m_irabilos.png public/foils/
cp notes/*.htm public/notes/
sed 's!\\.\\./!!g' <build/pages-stub.htm >public/index.html
.PHONY: all run debug edit export show pdf linklist clean pages
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment