2012-08-17 05:23:16 +02:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2011-04-08 22:57:31 +02:00
|
|
|
|
|
|
|
NULL =
|
|
|
|
bin_SCRIPTS =
|
2011-05-05 02:45:46 +02:00
|
|
|
CLEANFILES =
|
2011-04-08 22:57:31 +02:00
|
|
|
EXTRA_DIST =
|
|
|
|
|
2011-08-23 07:32:18 +02:00
|
|
|
codegendir = $(libdir)/gdbus-2.0/codegen
|
2011-04-08 22:57:31 +02:00
|
|
|
codegen_PYTHON = \
|
|
|
|
__init__.py \
|
|
|
|
codegen.py \
|
|
|
|
codegen_main.py \
|
|
|
|
codegen_docbook.py \
|
|
|
|
config.py \
|
|
|
|
dbustypes.py \
|
|
|
|
parser.py \
|
|
|
|
utils.py \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-06-07 20:17:11 +02:00
|
|
|
CLEANFILES += config.pyc
|
|
|
|
|
2011-04-08 22:57:31 +02:00
|
|
|
bin_SCRIPTS += gdbus-codegen
|
2011-05-05 02:45:46 +02:00
|
|
|
CLEANFILES += gdbus-codegen
|
2011-04-08 22:57:31 +02:00
|
|
|
EXTRA_DIST += gdbus-codegen.in
|
|
|
|
|
2011-10-05 18:33:55 +02:00
|
|
|
gdbus-codegen: gdbus-codegen.in Makefile $(codegen_PYTHON)
|
2012-06-29 16:59:23 +02:00
|
|
|
$(AM_V_GEN) sed -e 's,@libdir\@,$(libdir),' -e 's,@PYTHON\@,$(PYTHON),' $< > $@.tmp && mv $@.tmp $@
|
2011-04-08 22:57:31 +02:00
|
|
|
@chmod a+x $@
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -f *~
|