[gnome-flashback] data: move menu file to subdir



commit f12ecc127d0175e65d1256efe24806cc5346f373
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Sep 14 19:30:04 2015 +0300

    data: move menu file to subdir

 configure.ac                                       |    1 +
 data/Makefile.am                                   |    5 +----
 data/menus/Makefile.am                             |   12 ++++++++++++
 data/{ => menus}/gnome-flashback-applications.menu |    0
 4 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 347f00c..e392132 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,6 +109,7 @@ data/Makefile
 data/applications/Makefile
 data/autostart/Makefile
 data/directories/Makefile
+data/menus/Makefile
 data/sessions/Makefile
 data/xsessions/Makefile
 gnome-flashback/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index 909661b..6a15b91 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -4,6 +4,7 @@ SUBDIRS = \
        applications \
        autostart \
        directories \
+       menus \
        sessions \
        xsessions \
        $(NULL)
@@ -21,14 +22,10 @@ gnome-flashback-metacity: Makefile
        $(AM_V_GEN) (echo '#! /bin/sh' && echo 'exec gnome-session --session=gnome-flashback-metacity 
--disable-acceleration-check "$$@"') > $@
        $(AM_V_at) chmod a+x $@
 
-menudir   = $(sysconfdir)/xdg/menus
-menu_DATA = gnome-flashback-applications.menu
-
 gsettings_SCHEMAS = org.gnome.gnome-flashback.gschema.xml
 @GSETTINGS_RULES@
 
 EXTRA_DIST = \
-       $(menu_DATA) \
        $(gsettings_SCHEMAS) \
        $(NULL)
 
diff --git a/data/menus/Makefile.am b/data/menus/Makefile.am
new file mode 100644
index 0000000..7822798
--- /dev/null
+++ b/data/menus/Makefile.am
@@ -0,0 +1,12 @@
+NULL =
+
+menudir = $(sysconfdir)/xdg/menus
+menu_DATA = \
+       gnome-flashback-applications.menu \
+       $(NULL)
+
+EXTRA_DIST = \
+       $(menu_DATA) \
+       $(NULL)
+
+-include $(top_srcdir)/git.mk
diff --git a/data/gnome-flashback-applications.menu b/data/menus/gnome-flashback-applications.menu
similarity index 100%
rename from data/gnome-flashback-applications.menu
rename to data/menus/gnome-flashback-applications.menu


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]