mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
05461e5709
These files are actually architecture-indepdendent; using $(libdir) for them means that /usr/bin/gdbus-codegen varies between architectures, which is problematic for (mis)uses of multilib. See https://bugzilla.redhat.com/show_bug.cgi?id=718404 https://bugzilla.gnome.org/show_bug.cgi?id=685012
32 lines
639 B
Makefile
32 lines
639 B
Makefile
include $(top_srcdir)/Makefile.decl
|
|
|
|
NULL =
|
|
bin_SCRIPTS =
|
|
CLEANFILES =
|
|
EXTRA_DIST =
|
|
|
|
codegendir = $(datadir)/glib-2.0/codegen
|
|
codegen_PYTHON = \
|
|
__init__.py \
|
|
codegen.py \
|
|
codegen_main.py \
|
|
codegen_docbook.py \
|
|
config.py \
|
|
dbustypes.py \
|
|
parser.py \
|
|
utils.py \
|
|
$(NULL)
|
|
|
|
CLEANFILES += config.pyc
|
|
|
|
bin_SCRIPTS += gdbus-codegen
|
|
CLEANFILES += gdbus-codegen
|
|
EXTRA_DIST += gdbus-codegen.in
|
|
|
|
gdbus-codegen: gdbus-codegen.in Makefile $(codegen_PYTHON)
|
|
$(AM_V_GEN) sed -e 's,@datadir\@,$(datadir),' -e 's,@PYTHON\@,$(PYTHON),' $< > $@.tmp && mv $@.tmp $@
|
|
@chmod a+x $@
|
|
|
|
clean-local:
|
|
rm -f *~
|