aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-01-07 18:23:09 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-01-07 19:09:46 +0100
commit767214e4f157ae4a74be0b557bd49e24d972970b (patch)
tree46ee50d0e2c729e2892db8c96abc61294980a5fe /src/Makefile.am
parentddfe49d9feeba0d280e501f67cda64646e79d901 (diff)
downloadcalcurse-767214e4f157ae4a74be0b557bd49e24d972970b.tar.gz
calcurse-767214e4f157ae4a74be0b557bd49e24d972970b.zip
Add pre-save and post-save hooks
This adds support for hooks which are executed before/after saving calcurse data. Hooks can be placed under hooks/pre-save and hooks/post-save in the data directory and need to be executable. Potential use cases include: * Automatically commit any changes to the data files using a VCS. * Automatically sync with some sever component on data file changes. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index edb83d8..823f7c9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,6 +20,7 @@ calcurse_SOURCES = \
event.c \
getstring.c \
help.c \
+ hooks.c \
ical.c \
io.c \
keys.c \