1.1.6
by Loic Minier
Import upstream version 0.82.3 |
1 |
abs_top_srcdir = @abs_top_srcdir@ |
2 |
abs_top_builddir = @abs_top_builddir@ |
|
3 |
||
1.1.3
by Sebastian Dröge
Import upstream version 0.81.0 |
4 |
ACLOCAL_AMFLAGS = -I m4 |
5 |
||
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
6 |
# the api, doc, include subdirs don't need their own Makefile.am
|
1.1.7
by Simon McVittie
Import upstream version 0.82.4 |
7 |
# the dbus subdir is handled with non-recursive make because of #12741
|
1.1.10
by Simon McVittie
Import upstream version 0.83.2 |
8 |
SUBDIRS = _dbus_bindings _dbus_glib_bindings examples m4 test tools . |
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
9 |
|
10 |
CLEANFILES = |
|
1.1.6
by Loic Minier
Import upstream version 0.82.3 |
11 |
EXTRA_DIST = \ |
12 |
dbus-python.pc.in \
|
|
13 |
AUTHORS \
|
|
14 |
COPYING \
|
|
1.1.7
by Simon McVittie
Import upstream version 0.82.4 |
15 |
ChangeLog |
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
16 |
# miss out the gconf examples for now - they don't work
|
17 |
||
1.1.7
by Simon McVittie
Import upstream version 0.82.4 |
18 |
# === dbus package ===
|
19 |
||
20 |
nobase_python_PYTHON = \ |
|
21 |
dbus/bus.py \
|
|
22 |
dbus/connection.py \
|
|
33
by Barry Warsaw
* debian/patches: |
23 |
dbus/_compat.py \
|
1.1.7
by Simon McVittie
Import upstream version 0.82.4 |
24 |
dbus/_dbus.py \
|
25 |
dbus/_version.py \
|
|
26 |
dbus/decorators.py \
|
|
27 |
dbus/exceptions.py \
|
|
28 |
dbus/_expat_introspect_parser.py \
|
|
1.2.2
by Simon McVittie
Import upstream version 1.1.0 |
29 |
dbus/gi_service.py \
|
1.1.7
by Simon McVittie
Import upstream version 0.82.4 |
30 |
dbus/glib.py \
|
31 |
dbus/__init__.py \
|
|
32 |
dbus/lowlevel.py \
|
|
33 |
dbus/mainloop/__init__.py \
|
|
34 |
dbus/mainloop/glib.py \
|
|
35 |
dbus/proxies.py \
|
|
1.1.8
by Simon McVittie
Import upstream version 0.83.0 |
36 |
dbus/server.py \
|
1.1.7
by Simon McVittie
Import upstream version 0.82.4 |
37 |
dbus/service.py \
|
38 |
dbus/types.py |
|
39 |
||
1.2.2
by Simon McVittie
Import upstream version 1.1.0 |
40 |
if !HAVE_PYTHON_3
|
41 |
nobase_python_PYTHON += \ |
|
42 |
dbus/gobject_service.py \
|
|
43 |
$(NULL) |
|
44 |
endif
|
|
45 |
||
1.1.7
by Simon McVittie
Import upstream version 0.82.4 |
46 |
check_py_sources = $(nobase_python_PYTHON) |
47 |
include $(top_srcdir)/tools/check-coding-style.mk
|
|
48 |
||
49 |
# === Devel stuff ===
|
|
50 |
||
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
51 |
pkgconfigdir = $(libdir)/pkgconfig |
52 |
pkgconfig_DATA = dbus-python.pc |
|
53 |
||
54 |
dbusincludedir = $(includedir)/dbus-1.0/dbus |
|
55 |
dbusinclude_HEADERS = include/dbus-python.h |
|
56 |
||
57 |
# === Tests ===
|
|
58 |
||
59 |
cross-test-compile: all |
|
60 |
cross-test-server: |
|
61 |
@$(MAKE) -C test cross-test-server |
|
62 |
cross-test-client: |
|
63 |
@$(MAKE) -C test cross-test-client |
|
64 |
||
65 |
# === Documentation ===
|
|
66 |
||
1.1.3
by Sebastian Dröge
Import upstream version 0.81.0 |
67 |
dist-hook: |
68 |
chmod u+w $(distdir)/ChangeLog |
|
69 |
if test -d $(top_srcdir)/.git; then \
|
|
1.1.11
by Simon McVittie
Import upstream version 1.0.0 |
70 |
if GIT_DIR=$(top_srcdir)/.git git log --stat > $(distdir)/ChangeLog; then \
|
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
71 |
: ; \
|
72 |
else \
|
|
1.1.11
by Simon McVittie
Import upstream version 1.0.0 |
73 |
GIT_DIR=$(top_srcdir)/.git git log > $(distdir)/ChangeLog; \
|
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
74 |
fi; \
|
75 |
fi
|
|
76 |
||
1.1.11
by Simon McVittie
Import upstream version 1.0.0 |
77 |
TXT_RSTDOCS = \ |
78 |
doc/tutorial.txt \
|
|
79 |
doc/API_CHANGES.txt \
|
|
80 |
doc/HACKING.txt \
|
|
81 |
doc/PY3PORT.txt \
|
|
82 |
$(NULL) |
|
83 |
RSTDOCS = \ |
|
84 |
README \
|
|
85 |
NEWS \
|
|
1.2.2
by Simon McVittie
Import upstream version 1.1.0 |
86 |
$(NULL) |
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
87 |
dist_doc_DATA = $(TXT_RSTDOCS) $(RSTDOCS) |
88 |
||
1.1.8
by Simon McVittie
Import upstream version 0.83.0 |
89 |
maintainer-upload: |
90 |
rsync -tvpP --chmod=ugo=r $(DIST_ARCHIVES) $(DIST_ARCHIVES:%=%.asc) \ |
|
91 |
dbus.freedesktop.org:/srv/dbus.freedesktop.org/www/releases/dbus-python/ |
|
92 |
||
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
93 |
maintainer-update-website: _maintainer-update-apidocs \ |
94 |
_maintainer-update-htmldocs |
|
95 |
||
96 |
if ENABLE_DOCS
|
|
97 |
_maintainer-update-htmldocs: $(HTML_TXT_RSTDOCS) $(HTML_RSTDOCS) |
|
98 |
rsync -rtvzPp --chmod=Dg+s,ug+rwX,o=rX doc \ |
|
1.2.2
by Simon McVittie
Import upstream version 1.1.0 |
99 |
$(patsubst %,$(srcdir)/%,$(RSTDOCS)) $(HTML_RSTDOCS) \ |
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
100 |
dbus.freedesktop.org:/srv/dbus.freedesktop.org/www/doc/dbus-python/ |
101 |
||
1.1.11
by Simon McVittie
Import upstream version 1.0.0 |
102 |
HTML_TXT_RSTDOCS = $(patsubst %.txt,%.html,$(TXT_RSTDOCS)) |
103 |
HTML_RSTDOCS = $(patsubst %,%.html,$(RSTDOCS)) |
|
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
104 |
nodist_doc_DATA = $(HTML_TXT_RSTDOCS) $(HTML_RSTDOCS) |
105 |
||
106 |
CLEANFILES += $(nodist_doc_DATA) |
|
107 |
||
108 |
$(HTML_TXT_RSTDOCS) : %.html: %.txt |
|
1.1.3
by Sebastian Dröge
Import upstream version 0.81.0 |
109 |
$(INSTALL) -d doc |
110 |
$(RST2HTML) $(RST2HTMLFLAGS) $< $@ |
|
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
111 |
$(HTML_RSTDOCS) : %.html: % |
1.1.3
by Sebastian Dröge
Import upstream version 0.81.0 |
112 |
$(RST2HTML) $(RST2HTMLFLAGS) $< $@ |
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
113 |
else
|
114 |
_maintainer-update-htmldocs: |
|
115 |
@echo "*** Not updating the HTML docs on the website - install rst2html"
|
|
116 |
@echo "*** from http://docutils.sourceforge.net/ and configure with "
|
|
117 |
@echo "*** --enable-html-docs"
|
|
118 |
endif
|
|
119 |
||
120 |
if ENABLE_API_DOCS
|
|
121 |
all: api/index.html |
|
122 |
||
123 |
clean-local: |
|
124 |
rm -rf api |
|
125 |
||
126 |
_dbus_bindings/_dbus_bindings.la: |
|
127 |
$(MAKE) -C _dbus_bindings |
|
128 |
_dbus_glib_bindings/_dbus_glib_bindings.la: |
|
129 |
$(MAKE) -C _dbus_glib_bindings |
|
130 |
||
1.1.6
by Loic Minier
Import upstream version 0.82.3 |
131 |
APIDOC_PYTHONPATH = $(abs_top_srcdir):$(abs_top_builddir)/_dbus_bindings/.libs:$(abs_top_builddir)/_dbus_glib_bindings/.libs |
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
132 |
|
1.1.7
by Simon McVittie
Import upstream version 0.82.4 |
133 |
api api/index.html: $(nobase_python_PYTHON) \ |
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
134 |
_dbus_bindings/_dbus_bindings.la \ |
135 |
_dbus_glib_bindings/_dbus_glib_bindings.la |
|
136 |
rm -rf api |
|
137 |
mkdir api |
|
1.1.8
by Simon McVittie
Import upstream version 0.83.0 |
138 |
cd $(abs_top_srcdir) && \ |
139 |
PYTHONPATH=$(APIDOC_PYTHONPATH) DBUS_PYTHON_NO_DEPRECATED=1 \ |
|
140 |
$(PYTHON) -Wignore::DeprecationWarning \ |
|
141 |
$(EPYDOC) -o $(abs_top_builddir)/api --html \ |
|
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
142 |
--docformat restructuredtext -v \
|
33
by Barry Warsaw
* debian/patches: |
143 |
`find dbus -name '*.py' \ |
1.1.1
by Simon McVittie
Import upstream version 0.80.1 |
144 |
| sed -e 's#/__init__\.py##g' \ |
145 |
-e 's/\.py\>//g' -e 's#/#.#'g` \ |
|
146 |
|| { rm -rf api; exit 1; } |
|
147 |
||
148 |
_maintainer-update-apidocs: api |
|
149 |
rsync -rtvzPp --chmod=Dg+s,ug+rwX,o=rX api/ \ |
|
150 |
dbus.freedesktop.org:/srv/dbus.freedesktop.org/www/doc/dbus-python/api/ |
|
151 |
else
|
|
152 |
_maintainer-update-apidocs: |
|
153 |
@echo "*** Not updating the API docs on the website - install epydoc 3"
|
|
154 |
@echo "*** alpha (or newer) and configure with --enable-api-docs"
|
|
155 |
endif
|
|
156 |
||
157 |
.PHONY: cross-test-compile cross-test-server cross-test-client \ |
|
158 |
always-rebuild maintainer-update-website \ |
|
1.1.8
by Simon McVittie
Import upstream version 0.83.0 |
159 |
_maintainer-update-apidocs _maintainer-update-htmldocs \ |
160 |
maintainer-upload |