start adding my personal rules in a new patchset
* Cypher volatility * Making recovery rolls in any order * Wounds to be a narrative place for damage
This commit is contained in:
14
Makefile
14
Makefile
@@ -15,6 +15,10 @@ DE_OGCSRD_PATCH_DIR := ./patches/de-ogcsrd
|
||||
DE_OGCSRD_PATCHES := $(wildcard $(DE_OGCSRD_PATCH_DIR)/*.patch)
|
||||
DE_OGCSRD_PATCHES_OUT := $(subst $(DE_OGCSRD_PATCH_DIR),$(TMPDIR),$(DE_OGCSRD_PATCHES))
|
||||
|
||||
BSS_PATCH_DIR := ./patches/bss
|
||||
BSS_PATCHES := $(wildcard $(BSS_PATCH_DIR)/*.patch)
|
||||
BSS_PATCHES_OUT := $(subst $(BSS_PATCH_DIR),$(TMPDIR),$(BSS_PATCHES))
|
||||
|
||||
# DEFAULT BUILD
|
||||
|
||||
all: base
|
||||
@@ -23,6 +27,7 @@ all: base
|
||||
|
||||
base: $(CCSRD) $(BASE_PATCHES_OUT)
|
||||
de-ogcsrd: base $(DE_OGCSRD_PATCHES_OUT)
|
||||
bss: de-ogcsrd $(BSS_PATCHES_OUT)
|
||||
|
||||
# CLEANUPS
|
||||
|
||||
@@ -41,13 +46,18 @@ $(TMPDIR)/%.patch: $(BASE_PATCH_DIR)/%.patch
|
||||
@touch $@
|
||||
|
||||
$(TMPDIR)/%.patch: $(DE_OGCSRD_PATCH_DIR)/%.patch
|
||||
$(info >>> BASE '$<')
|
||||
$(info >>> DE-OGCSRD '$<')
|
||||
@patch $(CCSRD) $< --quiet
|
||||
@touch $@
|
||||
|
||||
$(TMPDIR)/%.patch: $(BSS_PATCH_DIR)/%.patch
|
||||
$(info >>> BSS '$<')
|
||||
@patch $(CCSRD) $< --quiet
|
||||
@touch $@
|
||||
|
||||
# OUTPUTS
|
||||
|
||||
web: $(CCSRD)
|
||||
web: $(CCSRD) bss
|
||||
mkdir -p $(WEBDIR)
|
||||
pandoc $(CCSRD) --data-dir=$(STYLESDIR) --template bss -s -o $(HTML_OUT)
|
||||
ifdef DEST_FILE
|
||||
|
||||
Reference in New Issue
Block a user