Update to use new Makefile approach
22
Makefile
@ -1,9 +1,17 @@
|
|||||||
BUILDDIR=./build
|
include Targets
|
||||||
SRCDIR=./src
|
|
||||||
|
all: $(TARGETS)
|
||||||
|
|
||||||
|
$(TARGETS):
|
||||||
|
- mkdir -p build/$@
|
||||||
|
- mkdir -p build/www/$@
|
||||||
|
- cp src/$@/*.jpg build/$@/
|
||||||
|
- cp src/$@/*.png build/$@/
|
||||||
|
|
||||||
|
- test -f ./src/$@/$@.md && pandoc -s ./src/$@/$@.tex -o ./build/$@.md --standalone --mathjax && cat ./build/$@.md | sed -e 's/\(::: center\)//g' | sed -e 's/::://g' > ./build/$@.md.tmp && mv ./build/$@.md.tmp ./build/$@.md
|
||||||
|
- test -f ./src/$@/$@.html && pandoc -s ./src/$@/$@.tex -o ./build/$@.html --standalone
|
||||||
|
- test -f ./src/$@/$@.cfg && test -f ./src/$@/$@.tex && tex4ebook -c ./src/$@/$@.cfg -d build/ ./src/$@/$@.tex && rm -rf $@-epub && rm $@*.*
|
||||||
|
- test -f ./src/$@/$@.adobe && test -f ./src/$@/$@.tex && latex --output-format=pdf --output-directory=build/ --directory=build/ ./src/$@/$@.tex && latex --output-format=pdf --output-directory=build/ --directory=build/ ./src/$@/$@.tex
|
||||||
|
|
||||||
all:
|
|
||||||
- mkdir build
|
|
||||||
latex --output-format=pdf --output-directory=$(BUILDDIR) $(SRCDIR)/culinaria.tex
|
|
||||||
latex --output-format=pdf --output-directory=$(BUILDDIR) $(SRCDIR)/culinaria.tex
|
|
||||||
clean:
|
clean:
|
||||||
- rm -rf $(BUILDDIR)
|
- rm -rf build
|
||||||
|
0
src/culinaria/culinaria.adobe
Normal file
0
src/culinaria/culinaria.html
Normal file
@ -1,9 +1,10 @@
|
|||||||
% This work is licensed under the Creative Commons BY-NC-SA 4.0 License. To view a copy of the license, visit https://rezrov.xyz/caranmegil/culinaria/src/branch/main/LICENSE.
|
% This work is licensed under the Creative Commons BY-NC-SA 4.0 License. To view a copy of the license, visit https://rezrov.xyz/caranmegil/culinaria/src/branch/main/LICENSE.
|
||||||
\documentclass[titlepage]{article}
|
\documentclass[titlepage]{article}
|
||||||
|
\usepackage[a4paper]{geometry}
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage[dvipsnames]{xcolor}
|
\usepackage[dvipsnames]{xcolor}
|
||||||
|
|
||||||
\graphicspath{ {./src/images/} }
|
\graphicspath{ {./src/culinaria/images/} }
|
||||||
|
|
||||||
|
|
||||||
\title{The "William Moore" Culinaria}
|
\title{The "William Moore" Culinaria}
|
Before Width: | Height: | Size: 384 KiB After Width: | Height: | Size: 384 KiB |
Before Width: | Height: | Size: 410 KiB After Width: | Height: | Size: 410 KiB |
Before Width: | Height: | Size: 388 KiB After Width: | Height: | Size: 388 KiB |
Before Width: | Height: | Size: 418 KiB After Width: | Height: | Size: 418 KiB |
Before Width: | Height: | Size: 336 KiB After Width: | Height: | Size: 336 KiB |