35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
$OpenBSD: patch-Makefile,v 1.4 2009/06/02 04:45:33 jasper Exp $
|
|
--- Makefile.orig Wed May 27 04:02:03 2009
|
|
+++ Makefile Sun May 31 15:06:38 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
|
|
@@ -76,10 +76,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)
|
|
|