summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
-rw-r--r--contrib/caldav/Makefile.am13
3 files changed, 15 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 8e7e1b0..fb428c1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS= foreign
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = po src test scripts
+SUBDIRS = po src test scripts contrib/caldav
if ENABLE_DOCS
SUBDIRS += doc
diff --git a/configure.ac b/configure.ac
index e32b027..b1480ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -143,7 +143,7 @@ AM_CONDITIONAL(CALCURSE_MEMORY_DEBUG, test x$memdebug = xyes)
# Create Makefiles
#-------------------------------------------------------------------------------
AC_OUTPUT(Makefile doc/Makefile src/Makefile test/Makefile scripts/Makefile \
- po/Makefile.in po/Makefile)
+ po/Makefile.in po/Makefile contrib/caldav/Makefile)
#-------------------------------------------------------------------------------
# Summary
#-------------------------------------------------------------------------------
diff --git a/contrib/caldav/Makefile.am b/contrib/caldav/Makefile.am
new file mode 100644
index 0000000..860b85c
--- /dev/null
+++ b/contrib/caldav/Makefile.am
@@ -0,0 +1,13 @@
+AUTOMAKE_OPTIONS = foreign
+
+dist_bin_SCRIPTS = \
+ calcurse-caldav
+
+EXTRA_DIST = \
+ calcurse-caldav.py
+
+CLEANFILES = \
+ calcurse-caldav
+
+calcurse-caldav: calcurse-caldav.py
+ cp "$(srcdir)/$<" "$@"