This isn't ready for distribution but allows users of the -git version of calcurse to easily update their configuration files without having to edit them manually. Following things are still missing here: * A command line parameter to specify a custom data directory. * A backup file that is created automatically before upgrading. * Debug output. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
21 lines
310 B
Makefile
21 lines
310 B
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
SUBDIRS = po src test scripts
|
|
|
|
if ENABLE_DOCS
|
|
SUBDIRS += doc
|
|
endif
|
|
|
|
EXTRA_DIST = \
|
|
INSTALL \
|
|
ABOUT-NLS
|
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
|
$(top_srcdir)/.version:
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|
|
|
|
dist-hook:
|
|
echo $(VERSION) > $(distdir)/.version
|