mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 03:46:17 +01:00
21aff13d22
Turns out this doesn't work unless every Makefile.am includes Makefile.decl.
32 lines
637 B
Makefile
32 lines
637 B
Makefile
include $(top_srcdir)/Makefile.decl
|
|
|
|
NULL =
|
|
bin_SCRIPTS =
|
|
CLEANFILES =
|
|
EXTRA_DIST =
|
|
|
|
codegendir = $(libdir)/gdbus-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,@libdir\@,$(libdir),' -e 's,@PYTHON\@,$(PYTHON),' $< > $@.tmp && mv $@.tmp $@
|
|
@chmod a+x $@
|
|
|
|
clean-local:
|
|
rm -f *~
|