diff options
Diffstat (limited to 'timer-applet/data/Makefile.am')
-rw-r--r-- | timer-applet/data/Makefile.am | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/timer-applet/data/Makefile.am b/timer-applet/data/Makefile.am new file mode 100644 index 00000000..043616ad --- /dev/null +++ b/timer-applet/data/Makefile.am @@ -0,0 +1,37 @@ +serverdir = $(libdir)/matecomponent/servers +server_in_files = TimerApplet.server.in +server_DATA = $(server_in_files:.server.in=.server) + +$(server_in_files): $(server_in_files:.server.in=.server.in.in) Makefile + sed -e "s|\@LIBEXECDIR\@|$(pkglibdir)|" $< > $@ + +schemasdir = $(MATECONF_SCHEMA_FILE_DIR) +schemas_in_files = timer-applet.schemas.in +schemas_DATA = $(schemas_in_files:.schemas.in=.schemas) + +pkgdata_DATA = \ + TimerApplet.xml \ + timer-applet.glade + +EXTRA_DIST = \ + TimerApplet.server.in.in \ + $(pkgdata_DATA) \ + $(schemas_in_files) + +CLEANFILES = \ + $(server_DATA) \ + $(server_in_files) \ + $(schemas_DATA) + +@INTLTOOL_SERVER_RULE@ +@INTLTOOL_SCHEMAS_RULE@ + +if MATECONF_SCHEMAS_INSTALL +install-data-local: + MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) \ + $(MATECONFTOOL) --makefile-install-rule $(schemas_DATA) + +uninstall-local: + MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) \ + $(MATECONFTOOL) --makefile-uninstall-rule $(schemas_DATA) +endif |