Install evolution.desktop' in the
KDE_APPLNK_DIR'.
* data/Makefile.am [HAVE_KDE_APPLNK]: Install `evolution.desktop' in the `KDE_APPLNK_DIR'. * configure.in: New option `--with-kde-applnk-path'. Define the `HAVE_KDE_APPLNK' Automake conditional, and the `KDE_APPLNK_DIR' value. svn path=/trunk/; revision=13828
This commit is contained in:
@ -1,3 +1,12 @@
|
||||
2001-10-20 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* data/Makefile.am [HAVE_KDE_APPLNK]: Install `evolution.desktop'
|
||||
in the `KDE_APPLNK_DIR'.
|
||||
|
||||
* configure.in: New option `--with-kde-applnk-path'. Define the
|
||||
`HAVE_KDE_APPLNK' Automake conditional, and the `KDE_APPLNK_DIR'
|
||||
value.
|
||||
|
||||
2001-10-19 Dan Winship <danw@ximian.com>
|
||||
|
||||
* tools/Makefile.am (EXTRA_DIST): Merge the two EXTRA_DIST
|
||||
|
19
configure.in
19
configure.in
@ -1021,6 +1021,25 @@ dnl ******************
|
||||
AC_ARG_WITH(sub-version, [ --with-sub-version=VERSION Specify a sub-version string])
|
||||
AC_DEFINE_UNQUOTED(SUB_VERSION, "$with_sub_version")
|
||||
|
||||
dnl ********************
|
||||
dnl KDE applnk directory
|
||||
dnl ********************
|
||||
AC_ARG_WITH(kde-applnk-path, [ --with-kde-applnk-path=PATH Location of KDE applnk files],
|
||||
[with_kde_applnk_path="$withval"])
|
||||
AC_MSG_CHECKING(for the KDE applnk directory)
|
||||
if test -z "$with_kde_applnk_path"; then
|
||||
with_kde_applnk_path="$prefix/share/applnk"
|
||||
fi
|
||||
if test -d "$with_kde_applnk_path" ; then
|
||||
AC_MSG_RESULT("$with_kde_applnk_path" found)
|
||||
KDE_APPLNK_DIR="$with_kde_applnk_path"
|
||||
else
|
||||
AC_MSG_RESULT(not found)
|
||||
KDE_APPLNK_DIR="no"
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_KDE_APPLNK, test "x$with_kde_applnk_path" != xno)
|
||||
AC_SUBST(KDE_APPLNK_DIR)
|
||||
|
||||
dnl ******************************
|
||||
dnl Makefiles
|
||||
dnl ******************************
|
||||
|
@ -11,4 +11,9 @@ keys_DATA = $(keys_in_files:.keys.in=.keys)
|
||||
mimedir = $(datadir)/mime-info
|
||||
mime_DATA = evolution.mime
|
||||
|
||||
if HAVE_KDE_APPLNK
|
||||
kdedesktopdir = $(KDE_APPLNK_DIR)/Applications
|
||||
kdedesktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
||||
endif
|
||||
|
||||
EXTRA_DIST = $(desktop_in_files) $(keys_in_files) $(mime_DATA)
|
||||
|
Reference in New Issue
Block a user