[gnome-applets/wip/segeiger/in-process: 6/8] modem-lights: move files to src folder



commit 004bc5235df66db7e31c6334cdeec28284caef0e
Author: Sebastian Geiger <sbastig gmx net>
Date:   Wed Sep 7 13:04:39 2016 +0200

    modem-lights: move files to src folder

 modem-lights/src/Makefile.am          |   35 +++++++++++++++++++++++++++++++++
 modem-lights/{ => src}/modem-applet.c |    0
 modem-lights/{ => src}/modem-applet.h |    0
 po/POTFILES.in                        |    2 +-
 4 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/modem-lights/src/Makefile.am b/modem-lights/src/Makefile.am
new file mode 100644
index 0000000..aa31ed0
--- /dev/null
+++ b/modem-lights/src/Makefile.am
@@ -0,0 +1,35 @@
+NULL =
+
+uidir  = $(pkgdatadir)/ui
+
+libexec_PROGRAMS = modem_applet
+
+modem_applet_CFLAGS = \
+       -I. \
+       -I$(srcdir) \
+       -DMODEM_MENU_UI_DIR=\""$(uidir)"\" \
+       -DGNOMELOCALEDIR=\""$(localedir)"\" \
+       -DGTK_BUILDERDIR=\""$(pkgdatadir)/builder"\" \
+       $(GNOME_APPLETS_CFLAGS) \
+       $(XML2_CFLAGS) \
+       $(WARN_CFLAGS) \
+       $(AM_CFLAGS) \
+       $(NULL)
+
+modem_applet_SOURCES = \
+       modem-applet.c \
+       modem-applet.h \
+       $(NULL)
+
+modem_applet_LDFLAGS = \
+       $(WARN_LDFLAGS) \
+       $(AM_LDFLAGS) \
+       $(NULL)
+
+modem_applet_LDADD = \
+       $(GNOME_APPLETS_LIBS) \
+       $(MODEMLIGHTS_LIBS) \
+       $(XML2_LIBS) \
+       $(NULL)
+
+-include $(top_srcdir)/git.mk
diff --git a/modem-lights/modem-applet.c b/modem-lights/src/modem-applet.c
similarity index 100%
rename from modem-lights/modem-applet.c
rename to modem-lights/src/modem-applet.c
diff --git a/modem-lights/modem-applet.h b/modem-lights/src/modem-applet.h
similarity index 100%
rename from modem-lights/modem-applet.h
rename to modem-lights/src/modem-applet.h
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a136e6d..14013cf 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -78,7 +78,7 @@ mini-commander/src/mini-commander_applet.c
 [type: gettext/ini]mini-commander/src/org.gnome.applets.MiniCommanderApplet.panel-applet.in.in
 mini-commander/src/org.gnome.gnome-applets.mini-commander.gschema.xml.in.in
 mini-commander/src/preferences.c
-modem-lights/modem-applet.c
+modem-lights/src/modem-applet.c
 [type: gettext/glade]modem-lights/modem-applet-menu.xml
 [type: gettext/glade]modem-lights/modemlights.ui
 [type: gettext/ini]modem-lights/org.gnome.applets.ModemApplet.panel-applet.in.in


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