summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accessx-status/Makefile.am69
-rw-r--r--accessx-status/data/Makefile.am39
-rw-r--r--accessx-status/data/accessx-status-applet-menu.xml (renamed from accessx-status/accessx-status-applet-menu.xml)0
-rw-r--r--accessx-status/data/accessx-status-resources.gresource.xml (renamed from accessx-status/accessx-status-resources.gresource.xml)0
-rw-r--r--accessx-status/data/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in (renamed from accessx-status/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in)0
-rw-r--r--accessx-status/data/org.mate.panel.applet.AccessxStatusAppletFactory.service.in (renamed from accessx-status/org.mate.panel.applet.AccessxStatusAppletFactory.service.in)0
-rw-r--r--accessx-status/src/Makefile.am33
-rw-r--r--accessx-status/src/applet.c (renamed from accessx-status/applet.c)0
-rw-r--r--accessx-status/src/applet.h (renamed from accessx-status/applet.h)0
-rw-r--r--configure.ac2
-rw-r--r--po/POTFILES.in4
11 files changed, 77 insertions, 70 deletions
diff --git a/accessx-status/Makefile.am b/accessx-status/Makefile.am
index f19fcb5e..e893db63 100644
--- a/accessx-status/Makefile.am
+++ b/accessx-status/Makefile.am
@@ -1,71 +1,4 @@
-NULL =
-
-SUBDIRS = docs icons
-
-AM_CPPFLAGS = \
- ${WARN_CFLAGS} \
- $(MATE_APPLETS4_CFLAGS) \
- $(GIO_CFLAGS) \
- -DACCESSX_PIXMAPS_DIR=\""$(datadir)/pixmaps/mate-accessx-status-applet"\" \
- -DACCESSX_RESOURCE_PATH=\""/org/mate/mate-applets/accessx-status/"\" \
- $(NULL)
-
-libexec_PROGRAMS = accessx-status-applet
-
-BUILT_SOURCES = accessx-status-resources.c accessx-status-resources.h
-nodist_accessx_status_applet_SOURCES = $(BUILT_SOURCES)
-accessx_status_applet_SOURCES = \
- applet.c \
- applet.h
-
-accessx_status_applet_LDADD = \
- $(MATE_APPLETS4_LIBS) \
- $(GIO_LIBS) \
- $(X_LIBS)
-
-accessx-status-resources.c: accessx-status-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/accessx-status-resources.gresource.xml)
- $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name accessx $<
-
-accessx-status-resources.h: accessx-status-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/accessx-status-resources.gresource.xml)
- $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name accessx $<
-
-appletdir = $(datadir)/mate-panel/applets
-applet_in_files = org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in
-applet_DATA = $(applet_in_files:.mate-panel-applet.desktop.in=.mate-panel-applet)
-
-$(applet_in_files): $(applet_in_files).in Makefile
- $(AM_V_GEN)sed \
- -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
- -e "s|\@VERSION\@|$(PACKAGE_VERSION)|" \
- $< > $@
-
-$(applet_DATA): $(applet_in_files) Makefile
- $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
-
-servicedir = $(datadir)/dbus-1/services
-service_in_files = org.mate.panel.applet.AccessxStatusAppletFactory.service.in
-service_DATA = $(service_in_files:.service.in=.service)
-
-org.mate.panel.applet.AccessxStatusAppletFactory.service: $(service_in_files)
- $(AM_V_GEN)sed \
- -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
- $< > $@
-
-CLEANFILES = \
- $(applet_DATA) \
- $(applet_in_files) \
- $(service_DATA) \
- $(ACCESSX_STATUS_APPLET_CLEANFILES) \
- $(BUILT_SOURCES) \
- $(NULL)
-
-EXTRA_DIST = \
- accessx-status-applet-menu.xml \
- accessx-status-resources.gresource.xml \
- $(applet_in_files).in \
- $(service_in_files) \
- $(NULL)
-
+SUBDIRS = data icons docs src
-include $(top_srcdir)/git.mk
diff --git a/accessx-status/data/Makefile.am b/accessx-status/data/Makefile.am
new file mode 100644
index 00000000..58df0294
--- /dev/null
+++ b/accessx-status/data/Makefile.am
@@ -0,0 +1,39 @@
+NULL =
+
+appletdir = $(datadir)/mate-panel/applets
+applet_in_files = org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in
+applet_DATA = $(applet_in_files:.mate-panel-applet.desktop.in=.mate-panel-applet)
+
+$(applet_in_files): $(applet_in_files).in Makefile
+ $(AM_V_GEN)sed \
+ -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
+ -e "s|\@VERSION\@|$(PACKAGE_VERSION)|" \
+ $< > $@
+
+$(applet_DATA): $(applet_in_files) Makefile
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
+
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.mate.panel.applet.AccessxStatusAppletFactory.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+
+org.mate.panel.applet.AccessxStatusAppletFactory.service: $(service_in_files)
+ $(AM_V_GEN)sed \
+ -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
+ $< > $@
+
+CLEANFILES = \
+ $(applet_DATA) \
+ $(applet_in_files) \
+ $(service_DATA) \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(applet_in_files).in \
+ $(service_in_files) \
+ accessx-status-applet-menu.xml \
+ accessx-status-resources.gresource.xml \
+ $(NULL)
+
+
+-include $(top_srcdir)/git.mk
diff --git a/accessx-status/accessx-status-applet-menu.xml b/accessx-status/data/accessx-status-applet-menu.xml
index f4d1c265..f4d1c265 100644
--- a/accessx-status/accessx-status-applet-menu.xml
+++ b/accessx-status/data/accessx-status-applet-menu.xml
diff --git a/accessx-status/accessx-status-resources.gresource.xml b/accessx-status/data/accessx-status-resources.gresource.xml
index 7d7d902f..7d7d902f 100644
--- a/accessx-status/accessx-status-resources.gresource.xml
+++ b/accessx-status/data/accessx-status-resources.gresource.xml
diff --git a/accessx-status/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in b/accessx-status/data/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in
index 9d9200a7..9d9200a7 100644
--- a/accessx-status/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in
+++ b/accessx-status/data/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in
diff --git a/accessx-status/org.mate.panel.applet.AccessxStatusAppletFactory.service.in b/accessx-status/data/org.mate.panel.applet.AccessxStatusAppletFactory.service.in
index 7f5d055e..7f5d055e 100644
--- a/accessx-status/org.mate.panel.applet.AccessxStatusAppletFactory.service.in
+++ b/accessx-status/data/org.mate.panel.applet.AccessxStatusAppletFactory.service.in
diff --git a/accessx-status/src/Makefile.am b/accessx-status/src/Makefile.am
new file mode 100644
index 00000000..9128ae1b
--- /dev/null
+++ b/accessx-status/src/Makefile.am
@@ -0,0 +1,33 @@
+NULL =
+
+AM_CPPFLAGS = \
+ ${WARN_CFLAGS} \
+ $(MATE_APPLETS4_CFLAGS) \
+ $(GIO_CFLAGS) \
+ -DACCESSX_RESOURCE_PATH=\""/org/mate/mate-applets/accessx-status/"\" \
+ $(NULL)
+
+libexec_PROGRAMS = accessx-status-applet
+
+BUILT_SOURCES = accessx-status-resources.c accessx-status-resources.h
+nodist_accessx_status_applet_SOURCES = $(BUILT_SOURCES)
+accessx_status_applet_SOURCES = \
+ applet.c \
+ applet.h
+
+accessx_status_applet_LDADD = \
+ $(MATE_APPLETS4_LIBS) \
+ $(GIO_LIBS) \
+ $(X_LIBS)
+
+accessx-status-resources.c: $(srcdir)/../data/accessx-status-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/../data --generate-dependencies $(srcdir)/../data/accessx-status-resources.gresource.xml)
+ $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/../data --generate --c-name accessx $<
+
+accessx-status-resources.h: $(srcdir)/../data/accessx-status-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/../data --generate-dependencies $(srcdir)/../data/accessx-status-resources.gresource.xml)
+ $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/../data --generate --c-name accessx $<
+
+CLEANFILES = \
+ $(BUILT_SOURCES) \
+ $(NULL)
+
+-include $(top_srcdir)/git.mk
diff --git a/accessx-status/applet.c b/accessx-status/src/applet.c
index 59256b3e..59256b3e 100644
--- a/accessx-status/applet.c
+++ b/accessx-status/src/applet.c
diff --git a/accessx-status/applet.h b/accessx-status/src/applet.h
index 29569136..29569136 100644
--- a/accessx-status/applet.h
+++ b/accessx-status/src/applet.h
diff --git a/configure.ac b/configure.ac
index e536a26a..c1a9da9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -560,8 +560,10 @@ AC_OUTPUT([
Makefile
po/Makefile.in
accessx-status/Makefile
+accessx-status/data/Makefile
accessx-status/docs/Makefile
accessx-status/icons/Makefile
+accessx-status/src/Makefile
drivemount/Makefile
drivemount/help/Makefile
drivemount/org.mate.drivemount.gschema.xml
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4b7c70f2..26050786 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,8 +1,8 @@
# List of source files containing translatable strings.
# Please keep this file sorted alphabetically.
#
-accessx-status/applet.c
-accessx-status/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in
+accessx-status/data/org.mate.applets.AccessxStatusApplet.mate-panel-applet.desktop.in.in
+accessx-status/src/applet.c
battstat/battstat_applet.c
battstat/battstat-preferences.c
battstat/battstat-preferences.ui