File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed
Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ include $(TOOLS_MAKE_LIB_DIR)/examples/Makefile
4444include $(TOOLS_MAKE_LIB_DIR ) /complexity/Makefile
4545include $(TOOLS_MAKE_LIB_DIR ) /docs/Makefile
4646include $(TOOLS_MAKE_LIB_DIR ) /workshops/Makefile
47+ include $(TOOLS_MAKE_LIB_DIR ) /bib/Makefile
4748include $(TOOLS_MAKE_LIB_DIR ) /markdown-equations/Makefile
4849include $(TOOLS_MAKE_LIB_DIR ) /debug/Makefile
4950
Original file line number Diff line number Diff line change 1+
2+ # DEPENDENCIES #
3+
4+ include $(TOOLS_MAKE_LIB_DIR ) /bib/reference.mk
Original file line number Diff line number Diff line change 1+
2+ # VARIABLES #
3+
4+ # Define the command for `node`:
5+ NODE ?= node
6+
7+ # Define the citation:
8+ CITATION ?=
9+
10+ # Define the command for returning a citation reference:
11+ CITATION_REFERENCE ?= $(NODE ) $(TOOLS_DIR ) /bib/citation-reference/bin/cli
12+
13+ # Define the command-line options to be used when executing the command:
14+ CITATION_REFERENCE_FLAGS ?= \
15+ --database $(ROOT_DIR ) /docs/references/bib.bib \
16+ --csl $(ROOT_DIR ) /docs/references/csl/chicago-author-date.csl
17+
18+
19+ # TARGETS #
20+
21+ # Return a reference.
22+ #
23+ # This target returns a reference corresponding to a citation identifier.
24+
25+ citation-reference : $(NODE_MODULES )
26+ $(QUIET ) $(CITATION_REFERENCE ) $(CITATION_REFERENCE_FLAGS ) $(CITATION )
27+
28+ .PHONY : citation-reference
You can’t perform that action at this time.
0 commit comments