diff options
author | rbuj <[email protected]> | 2019-12-09 23:05:56 +0100 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2019-12-23 08:55:37 +0100 |
commit | d6318fc5174c6e5915ed22c53b17a681850c97c0 (patch) | |
tree | 52e0c82b9e6318f70ffb07fac79b0d396970a6f9 /baobab/src/Makefile.am | |
parent | b8b0f4f70656476e51c0a645875d07c8c8225626 (diff) | |
download | mate-utils-d6318fc5174c6e5915ed22c53b17a681850c97c0.tar.bz2 mate-utils-d6318fc5174c6e5915ed22c53b17a681850c97c0.tar.xz |
Use gresources for UI files
Diffstat (limited to 'baobab/src/Makefile.am')
-rw-r--r-- | baobab/src/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/baobab/src/Makefile.am b/baobab/src/Makefile.am index a5af080e..5b6f1987 100644 --- a/baobab/src/Makefile.am +++ b/baobab/src/Makefile.am @@ -5,13 +5,19 @@ AM_CPPFLAGS = \ -DSYSCONFDIR=\""$(sysconfdir)"\" \ -DLIBDIR=\""$(libdir)"\" \ -DDATADIR=\""$(datadir)"\" \ - -DPKGDATADIR=\""$(datadir)/mate-disk-usage-analyzer"\" \ -DBAOBAB_PIX_DIR=\""$(datadir)/mate-disk-usage-analyzer/pixmaps/"\" \ -DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ $(NULL) bin_PROGRAMS = mate-disk-usage-analyzer +BUILT_SOURCES = baobab-resources.h baobab-resources.c + +baobab-resources.h baobab-resources.c: $(srcdir)/../data/org.mate.disk-usage-analyzer.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/../data $(srcdir)/../data/org.mate.disk-usage-analyzer.gresource.xml) + $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir)/../data --generate --c-name baobab $< + +nodist_mate_disk_usage_analyzer_SOURCES = \ + $(BUILT_SOURCES) mate_disk_usage_analyzer_SOURCES = \ baobab.c \ baobab.h \ @@ -52,3 +58,5 @@ mate_disk_usage_analyzer_LDADD = \ $(GTK_LIBS) \ $(LIBGTOP_LIBS) \ $(NULL) + +CLEANFILES = $(BUILT_SOURCES) |