about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--edit.mk3
-rw-r--r--makefile4
2 files changed, 6 insertions, 1 deletions
diff --git a/edit.mk b/edit.mk
index 4d1fbe1..23671f9 100644
--- a/edit.mk
+++ b/edit.mk
@@ -4,6 +4,9 @@ commit:
 
 edit:
 	@ ${EDITOR} src/inc/$(shell pushd src/inc >/dev/null && git ls-files -c . | fzf -m --bind=ctrl-c:accept-or-print-query)
+
+change:
+	@ ${MAKE} edit
 	@ ${MAKE} gen
 	@ ${MAKE} commit
 
diff --git a/makefile b/makefile
index 38fba24..61f632a 100644
--- a/makefile
+++ b/makefile
@@ -40,7 +40,9 @@ serve:
 watch-and-serve:
 	@ ${MAKE} -j2 watch serve
 
-.PHONY: all clean serve watch watch-and-serve
+was: watch-and-serve
+
+.PHONY: all clean serve watch watch-and-serve was
 
 include webdeploy.mk
 include edit.mk