From 767214e4f157ae4a74be0b557bd49e24d972970b Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 7 Jan 2016 18:23:09 +0100 Subject: 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 --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Makefile.am') 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 \ -- cgit v1.2.3-54-g00ecf