35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
$OpenBSD: patch-Makefile,v 1.5 2010/04/23 12:44:03 jasper Exp $
|
|
--- Makefile.orig Thu Sep 24 14:23:59 2009
|
|
+++ Makefile Mon Oct 12 11:58:58 2009
|
|
@@ -8,7 +8,7 @@ CANONXML = xmllint --nsclean --noblanks --c14n --nonet
|
|
XML_LINEBREAKS = perl -pe 's/>/>\n/g'
|
|
DROP_NAMESPACE = perl -pe '$$hash = chr(35); s{xmlns:tp="http://telepathy\.freedesktop\.org/wiki/DbusSpec$${hash}extensions-v0"}{}g'
|
|
RST2HTML = rst2html
|
|
-PYTHON = python
|
|
+PYTHON = ${MODPY_BIN}
|
|
|
|
XMLS = $(wildcard spec/*.xml)
|
|
TEMPLATES = $(wildcard doc/templates/*)
|
|
@@ -19,7 +19,7 @@ CANONICAL_NAMES = $(INTERFACE_XMLS:spec/%.xml=tmp/%.na
|
|
|
|
$(CANONICAL_NAMES): tmp/%.name: spec/%.xml tools/extract-nodename.py
|
|
@install -d tmp
|
|
- python tools/extract-nodename.py $< > $@
|
|
+ $(PYTHON) tools/extract-nodename.py $< > $@
|
|
tr a-z A-Z < $@ > $@.upper
|
|
tr A-Z a-z < $@ > $@.lower
|
|
tr -d _ < $@ > $@.camel
|
|
@@ -77,10 +77,10 @@ $(TEST_INTROSPECT): $(TEST_INTERFACE_XMLS) tools/spec-
|
|
|
|
$(ASYNC_INTROSPECT): introspect/async/%.xml: introspect/%.xml tools/make_all_async.py
|
|
@install -d introspect/async
|
|
- python tools/make_all_async.py $< $@
|
|
+ $(PYTHON) tools/make_all_async.py $< $@
|
|
$(TEST_ASYNC_INTROSPECT): $(TEST_INTROSPECT) tools/make_all_async.py
|
|
@install -d test/output
|
|
- python tools/make_all_async.py $< $@
|
|
+ $(PYTHON) tools/make_all_async.py $< $@
|
|
|
|
all: $(GENERATED_FILES)
|
|
|