Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Malin Freeborn
config
Commits
12a55aca
Verified
Commit
12a55aca
authored
1 month ago
by
Malin Freeborn
Browse files
Options
Downloads
Patches
Plain Diff
add help targets
parent
7f264bb9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+6
-4
6 additions, 4 deletions
Makefile
vars
+6
-1
6 additions, 1 deletion
vars
with
12 additions
and
5 deletions
Makefile
+
6
−
4
View file @
12a55aca
...
...
@@ -16,12 +16,14 @@ $(DROSS)/test.pdf: $(ALL_FILES) $(DROSS)
$(
GLOS
)
test
$(
RUN
)
test.tex
docs.pdf
:
images/wide.jpg STYLE_FILES | $(DROSS)
$(DBOOK)
:
docs.pdf
$(
CP
)
$<
$@
docs.pdf
:
images/wide.jpg STYLE_FILES | $(DROSS)
##
Make documentation
$(
RUN
)
docs.tex
$(
GLOS
)
docs
$(
RUN
)
docs.tex
$(
CP
)
$(
DROSS
)
/docs.pdf docs.pdf
character_sheets.pdf
:
HANDOUTS STYLE_FILES | $(DROSS)
character_sheets.pdf
:
HANDOUTS STYLE_FILES | $(DROSS)
##
Character sheets
$(
RUN
)
character_sheets.tex
$(
RUN
)
character_sheets.tex
$(
CP
)
$(
DROSS
)
/character_sheets.pdf character_sheets.pdf
...
...
@@ -36,10 +38,10 @@ booklet.pdf: | STYLE_FILES HANDOUTS $(DROSS)
/tmp/p_2.pdf
:
booklet.pdf
pdfjam
--angle
'-90'
$<
2
--outfile
$@
rules.pdf
:
/tmp/p_1.pdf /tmp/p_2.pdf
rules.pdf
:
/tmp/p_1.pdf /tmp/p_2.pdf
##
One-page rules summary
pdfunite
$^
$@
markets.pdf
:
config/market.sty $(wildcard config/markets/*) | $(DROSS)
markets.pdf
:
config/market.sty $(wildcard config/markets/*) | $(DROSS)
##
Price-sheets for baileys and town
$(
RUN
)
-jobname
markets markets/all.tex
$(
RUN
)
-jobname
markets markets/all.tex
$(
CP
)
$(
DROSS
)
/
$@
.
...
...
This diff is collapsed.
Click to expand it.
vars
+
6
−
1
View file @
12a55aca
...
...
@@ -16,10 +16,13 @@ GLOS := makeglossaries -d $(DROSS)
RUN := lualatex -output-directory $(DROSS) -shell-escape
CLEAN := $(RM) -r $(DROSS) $(LOCAL_DROSS) qr.tex *.pdf .switch-gls svg-inkscape
.PHONY: book
book: $(RELEASE) ## Compile the pdf
$(RELEASE): $(DBOOK)
@$(CP) $< $@
targets += $(RELEASE)
.PHONY: LOCTEX
LOCTEX: $(wildcard *.tex)
...
...
@@ -55,6 +58,8 @@ check: ## Check you have the project dependencies
@command -v latexmk >/dev/null || ( echo install latexmk && exit 1 )
@command -v inkscape >/dev/null || ( echo install inkscape && exit 1 )
targets += check
help: ## Print the help message
@awk 'BEGIN {FS = ":.*?## "} /^[0-9a-zA-Z._-]+:.*?## / {printf "\033[36m%s\033[0m : %s\n", $$1, $$2}' $(MAKEFILE_LIST) | \
sort | \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment