[gnome-applets/wip/segeiger/in-process: 11/25] command: move files to src folder



commit 5dff2aed350dcc885d7ef253130a7f053cb71320
Author: Sebastian Geiger <sbastig gmx net>
Date:   Thu Sep 8 12:03:04 2016 +0200

    command: move files to src folder

 command/Makefile.am         |   22 +---------------------
 command/src/Makefile.am     |   28 ++++++++++++++++++++++++++++
 command/{ => src}/command.c |    0
 configure.ac                |    1 +
 po/POTFILES.in              |    2 +-
 5 files changed, 31 insertions(+), 22 deletions(-)
---
diff --git a/command/Makefile.am b/command/Makefile.am
index 63151d6..6259568 100644
--- a/command/Makefile.am
+++ b/command/Makefile.am
@@ -1,26 +1,6 @@
 NULL =
 
-libexec_PROGRAMS = command-applet
-
-command_applet_CFLAGS = \
-       -I.                                     \
-       -I$(srcdir)                             \
-       -DGNOMELOCALEDIR=\""$(localedir)"\" \
-       -DPKG_DATA_DIR=\""$(pkgdatadir)"\" \
-       $(GNOME_APPLETS_CFLAGS)                 \
-       $(WARN_CFLAGS) \
-       $(AM_CFLAGS) \
-       $(NULL)
-
-command_applet_SOURCES = command.c
-
-command_applet_LDFLAGS = \
-       $(WARN_LDFLAGS) \
-       $(AM_LDFLAGS) \
-       $(NULL)
-
-command_applet_LDADD = \
-       $(GNOME_APPLETS_LIBS)
+SUBDIRS = src
 
 appletdir       = $(LIBPANEL_APPLET_DIR)
 applet_in_files = org.gnome.applets.CommandApplet.panel-applet.in
diff --git a/command/src/Makefile.am b/command/src/Makefile.am
new file mode 100644
index 0000000..35b7d90
--- /dev/null
+++ b/command/src/Makefile.am
@@ -0,0 +1,28 @@
+NULL =
+
+libexec_PROGRAMS = command-applet
+
+command_applet_CFLAGS = \
+       -I. \
+       -I$(srcdir) \
+       -DGNOMELOCALEDIR=\""$(localedir)"\" \
+       -DPKG_DATA_DIR=\""$(pkgdatadir)"\" \
+       $(GNOME_APPLETS_CFLAGS) \
+       $(WARN_CFLAGS) \
+       $(AM_CFLAGS) \
+       $(NULL)
+
+command_applet_SOURCES = \
+       command.c \
+       $(NULL)
+
+command_applet_LDFLAGS = \
+       $(WARN_LDFLAGS) \
+       $(AM_LDFLAGS) \
+       $(NULL)
+
+command_applet_LDADD = \
+       $(GNOME_APPLETS_LIBS) \
+       $(NULL)
+
+-include $(top_srcdir)/git.mk
diff --git a/command/command.c b/command/src/command.c
similarity index 100%
rename from command/command.c
rename to command/src/command.c
diff --git a/configure.ac b/configure.ac
index cecf583..8d820cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -654,6 +654,7 @@ AC_CONFIG_FILES([
   charpick/Makefile
 
   command/Makefile
+  command/src/Makefile
 
   cpufreq/help/Makefile
   cpufreq/Makefile
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d43c6e4..3be4d0b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -20,7 +20,7 @@ charpick/charpick.c
 [type: gettext/ini]charpick/org.gnome.applets.CharpickerApplet.panel-applet.in.in
 charpick/org.gnome.gnome-applets.charpick.gschema.xml.in.in
 charpick/properties.c
-command/command.c
+command/src/command.c
 [type: gettext/ini]command/org.gnome.applets.CommandApplet.panel-applet.in.in
 command/org.gnome.gnome-applets.command.gschema.xml.in.in
 [type: gettext/glade]cpufreq/cpufreq-applet-menu.xml


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