]> err.no Git - mapper/commitdiff
Use proper locations for data files for non-hildon case
authorKaj-Michael Lang <milang@angel.tal.org>
Mon, 15 Oct 2007 08:40:46 +0000 (11:40 +0300)
committerKaj-Michael Lang <milang@angel.tal.org>
Mon, 15 Oct 2007 08:40:46 +0000 (11:40 +0300)
configure.ac

index a69846094ddcd1ced42610102ecf2014fa67a2da..e778109ba81cb1b4eee22ab44afefcb6c6eecb6f 100644 (file)
@@ -237,26 +237,35 @@ if test "x$HAVE_HILDON" = "xyes"; then
  pluginlibdir=`$PKG_CONFIG hildon-control-panel --variable=plugindir`
  plugindesktopentrydir=`$PKG_CONFIG hildon-control-panel --variable=plugindesktopentrydir`
 
+ # Application icon install directories
+ icon_26x26dir=$datadir/icons/hicolor/26x26/hildon
+ icon_34x34dir=$datadir/icons/hicolor/34x34/hildon
+ icon_40x40dir=$datadir/icons/hicolor/40x40/hildon
+ icon_50x50dir=$datadir/icons/hicolor/50x50/hildon
+ icon_scalabledir=$datadir/icons/hicolor/scalable/hildon
+
+ # Help file install directory
+ helpfile_enusdir=$datadir/osso-help/en_US
+ helpfile_engbdir=$datadir/osso-help/en_GB
+
+ AC_SUBST(helpfile_enusdir)
+ AC_SUBST(helpfile_engbdir)
+
 else
- desktopentrydir=
+ desktopentrydir=$datadir/applications
  serviceentrydir=
- pixmapdir=
+ pixmapdir=$datadir/pixmaps
  pluginlibdir=
  plugindesktopentrydir=
-fi
 
-# Application icon install directories
-icon_26x26dir=$datadir/icons/hicolor/26x26/hildon
-icon_34x34dir=$datadir/icons/hicolor/34x34/hildon
-icon_40x40dir=$datadir/icons/hicolor/40x40/hildon
-icon_50x50dir=$datadir/icons/hicolor/50x50/hildon
-icon_scalabledir=$datadir/icons/hicolor/scalable/hildon
+ # Application icon install directories
+ icon_26x26dir=$datadir/icons/hicolor/26x26
+ icon_34x34dir=$datadir/icons/hicolor/34x34
+ icon_40x40dir=$datadir/icons/hicolor/40x40
+ icon_50x50dir=$datadir/icons/hicolor/50x50
+ icon_scalabledir=$datadir/icons/hicolor/scalable
 
-# Help file install directory
-helpfile_enusdir=$datadir/osso-help/en_US
-AC_SUBST(helpfile_enusdir)
-helpfile_engbdir=$datadir/osso-help/en_GB
-AC_SUBST(helpfile_engbdir)
+fi
 
 # Define as variables in Makefiles
 AC_SUBST(desktopentrydir)