diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d96d4d148a976b9592785debd88a51c161fd8a93..f8affbf9bc41da9b2cdd8cf9915f1ffcbe4947d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,4 +11,4 @@ compile_pdf: - run artifacts: paths: - - core.pdf + - "*.pdf" diff --git a/Makefile b/Makefile index dc9bd368a40a77ef9ba997c0abcd159642aae030..e8af67e43365774a0ac0c2d146e6345def7eacb6 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,8 @@ BOOK = $(shell basename "$$(pwd)") output: $(BOOK).pdf +.PHONY: clean all + global: config/bind.sty .switch-gls .switch-gls: @touch -r Makefile .switch-gls @@ -17,8 +19,13 @@ $(BOOK).sls: | $(BOOK).glo $(BOOK).pdf: $(BOOK).sls $(wildcard *.tex) $(wildcard config/*.sty) @pdflatex -jobname $(BOOK) main.tex -all: $(BOOK).pdf - latexmk -jobname=$(BOOK) -shell-escape -pdf main.tex +config/resources.pdf: config/bind.sty + @make -C config resources.pdf +resources.pdf: config/resources.pdf + @cp config/resources.pdf . + +all: $(BOOK).pdf resources.pdf + @latexmk -jobname=$(BOOK) -shell-escape -pdf main.tex clean: rm -fr *.aux *.sls *.slo *.slg *.toc *.acn *.log *.out *.idx *.ist *.glo *.glg *.gls *.acr *.alg \ @@ -30,4 +37,3 @@ clean: *.fdb_latexmk \ *.fls -.PHONY: clean all diff --git a/README.md b/README.md index 7f8c9246d25ddfb125f7c9e1f435ab57ab5af1be..815890b274be8b124e273063f4d109bd0dbe3032 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,7 @@ |:-------------------------------------|:------------------------------| | [Core Book][core download] | [Wiki][wiki] | | [Character Sheets][resources] | [Email an idea][issuesEmail] | -| [Reference Version][reference] | [Issues Board][board] | -| [Character Spread Sheet][cs] | [ Your ad here $5 ] | +| [Character Spread Sheet][cs] | [Issues Board][board] | BIND is a grunge-fantasy tabletop RPG core ruleset. @@ -60,8 +59,7 @@ If you want to get involved, there are a number of ways to contribute: - Join the project, and start fixing issues. - Or if you don't like how I'm handling the book, fork it and make your own. -[core download]: https://gitlab.com/bindrpg/core/-/jobs/artifacts/master/raw/BIND.pdf?job=compile_pdf -[reference]: https://gitlab.com/bindrpg/core/-/jobs/artifacts/master/raw/BIND_ref.pdf?job=compile_pdf +[core download]: https://gitlab.com/bindrpg/core/-/jobs/artifacts/master/raw/core.pdf?job=compile_pdf [resources]: https://gitlab.com/bindrpg/core/-/jobs/artifacts/master/raw/resources.pdf?job=compile_pdf [wiki]: https://gitlab.com/bindrpg/core/-/wikis/home [aif]: https://gitlab.com/bindrpg/aif