mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-09-13 21:21:17 +00:00
Locate resource from $(srcdir)
This commit is contained in:
parent
28a725db20
commit
2526330209
|
@ -72,7 +72,7 @@ gitg_SOURCES = \
|
||||||
$(gitg_VALASOURCES) \
|
$(gitg_VALASOURCES) \
|
||||||
gitg-resources.c
|
gitg-resources.c
|
||||||
|
|
||||||
gitg-resources.c: resources/gitg-resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/gitg-resources.xml)
|
gitg-resources.c: resources/gitg-resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources $(srcdir)/resources/gitg-resources.xml)
|
||||||
$(GLIB_COMPILE_RESOURCES) --generate-source \
|
$(GLIB_COMPILE_RESOURCES) --generate-source \
|
||||||
--sourcedir $(srcdir)/resources \
|
--sourcedir $(srcdir)/resources \
|
||||||
--target "$@" "$<"
|
--target "$@" "$<"
|
||||||
|
@ -84,7 +84,7 @@ gitg-resources.h: resources/gitg-resources.xml $(shell $(GLIB_COMPILE_RESOURCES)
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
resources/gitg-resources.xml \
|
resources/gitg-resources.xml \
|
||||||
$(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/gitg-resources.xml)
|
$(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources $(srcdir)/resources/gitg-resources.xml)
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ endif
|
||||||
libgitg_ext_1_0_la_pkgconfigdir = $(libdir)/pkgconfig
|
libgitg_ext_1_0_la_pkgconfigdir = $(libdir)/pkgconfig
|
||||||
libgitg_ext_1_0_la_pkgconfig_DATA = libgitg-ext-1.0.pc
|
libgitg_ext_1_0_la_pkgconfig_DATA = libgitg-ext-1.0.pc
|
||||||
|
|
||||||
gitg-ext-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/resources.xml)
|
gitg-ext-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources $(srcdir)/resources/resources.xml)
|
||||||
$(GLIB_COMPILE_RESOURCES) --generate-source \
|
$(GLIB_COMPILE_RESOURCES) --generate-source \
|
||||||
--sourcedir $(srcdir)/resources \
|
--sourcedir $(srcdir)/resources \
|
||||||
--target "$@" "$<"
|
--target "$@" "$<"
|
||||||
|
|
|
@ -26,7 +26,7 @@ libdiff_la_plugindir = $(GITG_PLUGIN_LIBDIR)
|
||||||
libdiff_la_plugin_LTLIBRARIES = libdiff.la
|
libdiff_la_plugin_LTLIBRARIES = libdiff.la
|
||||||
libdiff_la_plugin_DATA = diff.plugin
|
libdiff_la_plugin_DATA = diff.plugin
|
||||||
|
|
||||||
gitg-diff-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/resources.xml)
|
gitg-diff-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources $(srcdir)/resources/resources.xml)
|
||||||
$(GLIB_COMPILE_RESOURCES) --generate-source \
|
$(GLIB_COMPILE_RESOURCES) --generate-source \
|
||||||
--sourcedir $(srcdir)/resources \
|
--sourcedir $(srcdir)/resources \
|
||||||
--target "$@" "$<"
|
--target "$@" "$<"
|
||||||
|
@ -39,7 +39,7 @@ gitg-diff-resources.h: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES)
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(libdiff_la_plugin_DATA) \
|
$(libdiff_la_plugin_DATA) \
|
||||||
resources/resources.xml \
|
resources/resources.xml \
|
||||||
$(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/resources.xml)
|
$(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources $(srcdir)/resources/resources.xml)
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ libfiles_la_plugindir = $(GITG_PLUGIN_LIBDIR)
|
||||||
libfiles_la_plugin_LTLIBRARIES = libfiles.la
|
libfiles_la_plugin_LTLIBRARIES = libfiles.la
|
||||||
libfiles_la_plugin_DATA = files.plugin
|
libfiles_la_plugin_DATA = files.plugin
|
||||||
|
|
||||||
gitg-files-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/resources.xml)
|
gitg-files-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources $(srcdir)/resources/resources.xml)
|
||||||
$(GLIB_COMPILE_RESOURCES) --generate-source \
|
$(GLIB_COMPILE_RESOURCES) --generate-source \
|
||||||
--sourcedir $(srcdir)/resources \
|
--sourcedir $(srcdir)/resources \
|
||||||
--target "$@" "$<"
|
--target "$@" "$<"
|
||||||
|
@ -38,7 +38,7 @@ gitg-files-resources.h: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(libfiles_la_plugin_DATA) \
|
$(libfiles_la_plugin_DATA) \
|
||||||
resources/resources.xml \
|
resources/resources.xml \
|
||||||
$(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/resources.xml)
|
$(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources $(srcdir)/resources/resources.xml)
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue