mirror of https://github.com/wwarthen/RomWBW.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.4 KiB
41 lines
1.4 KiB
#
|
|
# NOTE: Pandoc, Latex (MiKTeX or TexLive), and gpp must be installed
|
|
# and available on commandline for this build to work!!!
|
|
# Typically "sudo apt install pandoc, texlive-latex-extra, gpp"
|
|
#
|
|
OBJECTS = ReadMe.gfm Readme.txt UserGuide.pdf SystemGuide.pdf Applications.pdf ROM_Applications.pdf Catalog.pdf Errata.pdf
|
|
# DEST = ../../Doc
|
|
TOOLS = ../../Tools
|
|
OTHERS = *.tmp
|
|
|
|
include $(TOOLS)/Makefile.inc
|
|
|
|
all :: deploy
|
|
|
|
%.tmp : %.md
|
|
gpp -o $@ -U "$" "$" "{" "}{" "}$" "{" "}" "@@@" "" -M "$" "$" "{" "}{" "}$" "{" "}" $<
|
|
|
|
%.pdf : %.tmp
|
|
pandoc $< -f markdown -t latex -s -o $@ --default-image-extension=pdf
|
|
|
|
%.html : %.tmp
|
|
pandoc $< -f markdown -t html -s -o $@ --default-image-extension=pdf
|
|
|
|
%.dw : %.tmp
|
|
pandoc $< -f markdown -t dokuwiki -s -o $@ --default-image-extension=pdf
|
|
|
|
%.gfm : %.tmp
|
|
pandoc $< -f markdown -t gfm -s -o $@ --default-image-extension=pdf
|
|
|
|
%.txt : %.tmp
|
|
pandoc $< -f markdown -t plain -s -o $@ --default-image-extension=pdf
|
|
|
|
deploy :
|
|
cp ReadMe.gfm "../../ReadMe.md"
|
|
cp ReadMe.txt "../../ReadMe.txt"
|
|
cp UserGuide.pdf "../../Doc/RomWBW User Guide.pdf"
|
|
cp SystemGuide.pdf "../../Doc/RomWBW System Guide.pdf"
|
|
cp Applications.pdf "../../Doc/RomWBW Applications.pdf"
|
|
cp ROM_Applications.pdf "../../Doc/RomWBW ROM Applications.pdf"
|
|
cp Catalog.pdf "../../Doc/RomWBW Disk Catalog.pdf"
|
|
cp Erratapdf "../../Doc/RomWBW Errata.pdf"
|
|
|