summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/.gitignore1
-rw-r--r--data/makefile7
-rw-r--r--data/recipes/.gitignore1
3 files changed, 6 insertions, 3 deletions
diff --git a/data/.gitignore b/data/.gitignore
new file mode 100644
index 00000000..08711f05
--- /dev/null
+++ b/data/.gitignore
@@ -0,0 +1 @@
+/book.json
diff --git a/data/makefile b/data/makefile
index 4c948a81..a5041803 100644
--- a/data/makefile
+++ b/data/makefile
@@ -14,11 +14,14 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
SETS = default none anticurry
-all: $(patsubst %,recipes/%.yaml,$(SETS))
+ALL = $(patsubst %,recipes/%.yaml,$(SETS)) book.json
+all: $(ALL)
graphs: recipes/default.svg
JSR = deno run
+book.json: ../book/book.json
+ cp $< $@
recipes/none.yaml:
echo > $@
recipes/anticurry.yaml: recipes/default.yaml
@@ -33,4 +36,4 @@ recipes/%.svg: recipes/%.gv.txt
dot -Tsvg -Kdot >$@<$<
clean:
- $(RM) -r recipes/*.{yaml,gv.txt,svg}
+ $(RM) $(ALL)
diff --git a/data/recipes/.gitignore b/data/recipes/.gitignore
index a9e52ca2..77c36404 100644
--- a/data/recipes/.gitignore
+++ b/data/recipes/.gitignore
@@ -1,4 +1,3 @@
*.yaml
-!newRecipes.yaml
*.gv.txt
*.svg