aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-02-09 22:13:16 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-02-09 22:22:12 +0100
commita3b0c8eed288dacf4c76c6c90c42a99139b1ca01 (patch)
tree123f7474997614e4a2ddc98ac65256e4b70cbdf9
parent4ab6e75aa906ebf85cf68b5f23be003a7dae9c7a (diff)
downloadcalcurse-a3b0c8eed288dacf4c76c6c90c42a99139b1ca01.tar.gz
calcurse-a3b0c8eed288dacf4c76c6c90c42a99139b1ca01.zip
Install calcurse-caldav by default
Add a new Makefile to build and install calcurse-caldav and include it in the top-level build process. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-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)/$<" "$@"