Permalink
Browse files

Move MousepadHelp to $libdir/xfce4/mousepad.

  • Loading branch information...
1 parent a269c2d commit 385535209b957746bec3d29818bc1d4490df35e3 @nschermer nschermer committed Aug 26, 2010
Showing with 3 additions and 4 deletions.
  1. +2 −1 Makefile.am
  2. +0 −2 mousepad/Makefile.am
  3. +1 −1 mousepad/mousepad-dialogs.c
View
@@ -11,7 +11,8 @@ rpm: dist
rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
@rm -f $(PACKAGE)-$(VERSION).tar.gz
-libexec_SCRIPTS = \
+mousepad_scriptsdir = $(libdir)/xfce4/mousepad
+mousepad_scripts_SCRIPTS = \
MousepadHelp
MousepadHelp: MousepadHelp.in Makefile
@@ -4,9 +4,7 @@ INCLUDES = \
-DBINDIR=\"$(bindir)\" \
-DDATADIR=\"$(datadir)\" \
-DLIBDIR=\"$(libdir)\" \
- -DLIBEXECDIR=\"$(libexecdir)\" \
-DG_LOG_DOMAIN=\"Mousepad\" \
- -DLIBEXECDIR=\"$(libexecdir)\" \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
-DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES \
-DGTK_DISABLE_SINGLE_INCLUDES \
@@ -97,7 +97,7 @@ mousepad_dialogs_show_help (GtkWindow *parent,
screen = gdk_screen_get_default ();
/* generate the command for the documentation browser */
- command = g_strdup (LIBEXECDIR "/MousepadHelp");
+ command = g_strdup (LIBDIR G_DIR_SEPARATOR_S "xfce4" G_DIR_SEPARATOR_S "mousepad" G_DIR_SEPARATOR_S "MousepadHelp");
/* check if a page is given */
if (G_UNLIKELY (page != NULL))

0 comments on commit 3855352

Please sign in to comment.