about summary refs log tree commit diff
path: root/makefile
blob: 092f90cab14eada6b400286a2b4015e3ab1b3af1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
all: gen

site_DIR := site
src_DIR := src/inc

gen: $(rbc_BIN)
	$(rbc_BIN) gen $(src_DIR) $(site_DIR)

watch: $(rbc_BIN)
	$(rbc_BIN) gen --list $(src_DIR) $(site_DIR) | entr -cd -- $(MAKE) gen

serve: $(rbc_BIN)
	$(rbc_BIN) serve .

watch-and-serve:
	@ $(MAKE) -j2 watch serve

was: watch-and-serve
dev: watch-and-serve

.PHONY: gen serve watch watch-and-serve was

include webdeploy.mk
include edit.mk
include rbc.mk