Commit b114bdd7 authored by Mathieu Bridon's avatar Mathieu Bridon

Allow not installing the desktop file

No more "Sundry" folder with only jhbuild inside!

https://bugzilla.gnome.org/show_bug.cgi?id=774271
parent 22a99285
......@@ -11,6 +11,7 @@ DTDS = \
modulesets/moduleset.rnc \
$(NULL)
if GUI_ENABLED
desktopdir = $(datadir)/applications
desktop_DATA = jhbuild.desktop
......@@ -20,6 +21,7 @@ jhbuild.desktop.in: jhbuild.desktop.in.in
# Substitute variables in a Desktop Entry file.
jhbuild.desktop: jhbuild.desktop.in
$(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@
endif
EXTRA_DIST = $(PATCHES) $(MODULESETS) $(DTDS) \
modulesets/moduleset.xsl \
......
......@@ -32,6 +32,14 @@ AC_ARG_ENABLE(
[enable_doc_installation=no])
AM_CONDITIONAL([DOC_INSTALLATION_ENABLED],[test "x$enable_doc_installation" = "xyes"])
# GUI
AC_ARG_ENABLE(
gui,
AS_HELP_STRING([--enable-gui=@<:@no/yes@:>@], [install the graphical user interface (default: no)]),
[enable_gui=$enableval],
[enable_gui=no])
AM_CONDITIONAL([GUI_ENABLED],[test "x$enable_gui" == "xyes"])
YELP_HELP_INIT
AC_CONFIG_FILES([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment