moved LOCALEDIR definition from configure.ac to src/Makefile.am

This commit is contained in:
Frederic Culot 2006-09-22 13:11:35 +00:00
parent ef0192d457
commit ef8432c301
2 changed files with 5 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
#
# $calcurse: configure.ac,v 1.3 2006/09/09 20:00:16 culot Exp $
# $calcurse: configure.ac,v 1.4 2006/09/22 13:11:35 culot Exp $
AC_PREREQ(2.59)
AC_INIT(calcurse, 1.6, frederic@culot.org)
@ -45,8 +45,4 @@ AC_FUNC_MKTIME
AC_FUNC_STRFTIME
AC_CHECK_FUNCS([floor mkdir strchr])
# Define LOCALEDIR
AC_DEFINE_UNQUOTED(LOCALEDIR, "${prefix}/share/locale",
[The directory in which locale data will be stored])
AC_OUTPUT(Makefile src/Makefile po/Makefile.in po/Makefile)

View File

@ -1,4 +1,4 @@
# $calcurse: Makefile.am,v 1.2 2006/09/09 20:04:23 culot Exp $
# $calcurse: Makefile.am,v 1.3 2006/09/22 13:12:06 culot Exp $
AUTOMAKE_OPTIONS= gnu
bin_PROGRAMS= calcurse
@ -10,5 +10,8 @@ calcurse_SOURCES= calcurse.c apoint.c event.c todo.c utils.c\
day.h recur.h notify.h
LIBS= -lncurses -lpthread -lm
LDADD= @LTLIBINTL@
datadir= @datadir@
localedir= $(datadir)/locale
DEFS= -DLOCALEDIR=\"$(localedir)\" @DEFS@
man_MANS= calcurse.1
EXTRA_DIST= calcurse.1