[gnome-flashback] data: move application files to subdir
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] data: move application files to subdir
- Date: Mon, 14 Sep 2015 16:36:32 +0000 (UTC)
commit d124f9d18f5f7cc25c9f15a62dafbe24180c9760
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Sep 14 19:17:03 2015 +0300
data: move application files to subdir
configure.ac | 1 +
data/Makefile.am | 10 +-------
data/applications/Makefile.am | 23 ++++++++++++++++++++
.../gnome-flashback-init.desktop.in | 0
data/{ => applications}/gnome-flashback.desktop.in | 0
po/POTFILES.in | 4 +-
6 files changed, 27 insertions(+), 11 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1c70767..004326b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -106,6 +106,7 @@ PKG_CHECK_EXISTS([xrandr >= 1.5.0], AC_DEFINE([HAVE_XRANDR15], [1], [Define if y
AC_CONFIG_FILES([
Makefile
data/Makefile
+data/applications/Makefile
data/autostart/Makefile
data/sessions/Makefile
data/xsessions/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index 35a8b6e..df1c32e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,6 +1,7 @@
NULL =
SUBDIRS = \
+ applications \
autostart \
sessions \
xsessions \
@@ -22,13 +23,6 @@ gnome-flashback-metacity: Makefile
menudir = $(sysconfdir)/xdg/menus
menu_DATA = gnome-flashback-applications.menu
-desktopdir = $(datadir)/applications
-desktop_in_files = gnome-flashback.desktop.in gnome-flashback-init.desktop.in
-desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
-
-%.desktop: %.desktop.in
- $(AM_V_GEN) $(MSGFMT) --desktop --template $< -o $ -t -d $(top_srcdir)/po && mv $ -t $@
-
directorydir = $(datadir)/desktop-directories
directory_in_files = \
@@ -44,14 +38,12 @@ gsettings_SCHEMAS = org.gnome.gnome-flashback.gschema.xml
@GSETTINGS_RULES@
EXTRA_DIST = \
- $(desktop_in_files) \
$(menu_DATA) \
$(gsettings_SCHEMAS) \
$(directory_in_files) \
$(NULL)
CLEANFILES = \
- $(desktop_DATA) \
gnome-flashback-compiz \
gnome-flashback-metacity \
*.gschema.valid \
diff --git a/data/applications/Makefile.am b/data/applications/Makefile.am
new file mode 100644
index 0000000..81c62c6
--- /dev/null
+++ b/data/applications/Makefile.am
@@ -0,0 +1,23 @@
+NULL =
+
+desktop_in_files = \
+ gnome-flashback.desktop.in \
+ gnome-flashback-init.desktop.in \
+ $(NULL)
+
+desktopdir = $(datadir)/applications
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
+%.desktop: %.desktop.in
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -o $ -t \
+ -d $(top_srcdir)/po && mv $ -t $@
+
+EXTRA_DIST = \
+ $(desktop_in_files) \
+ $(NULL)
+
+CLEANFILES = \
+ $(desktop_DATA) \
+ $(NULL)
+
+-include $(top_srcdir)/git.mk
diff --git a/data/gnome-flashback-init.desktop.in b/data/applications/gnome-flashback-init.desktop.in
similarity index 100%
rename from data/gnome-flashback-init.desktop.in
rename to data/applications/gnome-flashback-init.desktop.in
diff --git a/data/gnome-flashback.desktop.in b/data/applications/gnome-flashback.desktop.in
similarity index 100%
rename from data/gnome-flashback.desktop.in
rename to data/applications/gnome-flashback.desktop.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 73ae43b..64b8720 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,10 +1,10 @@
# List of source files containing translatable strings.
# Please keep this file sorted alphabetically.
-data/gnome-flashback.desktop.in
-data/gnome-flashback-init.desktop.in
data/org.gnome.gnome-flashback.gschema.xml
data/X-GNOME-Flashback-Settings.directory.desktop.in
data/X-GNOME-Flashback-Settings-System.directory.desktop.in
+data/applications/gnome-flashback.desktop.in
+data/applications/gnome-flashback-init.desktop.in
data/autostart/gnome-flashback-nm-applet.desktop.in
data/autostart/gnome-flashback-screensaver.desktop.in
data/xsessions/gnome-flashback-compiz.desktop.in.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]