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>
This commit is contained in:
Lukas Fleischer 2016-02-09 22:13:16 +01:00
parent 4ab6e75aa9
commit a3b0c8eed2
3 changed files with 15 additions and 2 deletions

View File

@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS= foreign
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
SUBDIRS = po src test scripts SUBDIRS = po src test scripts contrib/caldav
if ENABLE_DOCS if ENABLE_DOCS
SUBDIRS += doc SUBDIRS += doc

View File

@ -143,7 +143,7 @@ AM_CONDITIONAL(CALCURSE_MEMORY_DEBUG, test x$memdebug = xyes)
# Create Makefiles # Create Makefiles
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
AC_OUTPUT(Makefile doc/Makefile src/Makefile test/Makefile scripts/Makefile \ 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 # Summary
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------

View File

@ -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)/$<" "$@"