[kupfer] wscript(s): Set up to process Quickstart from Documentation
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] wscript(s): Set up to process Quickstart from Documentation
- Date: Fri, 18 Sep 2009 02:12:29 +0000 (UTC)
commit 1bface1d2ef160dbf5dc503d436acebffe4b42e0
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Fri Sep 18 03:04:04 2009 +0200
wscript(s): Set up to process Quickstart from Documentation
Documentation/wscript_build | 16 ++++++++++++++++
data/wscript_build | 16 ----------------
wscript | 2 +-
3 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/Documentation/wscript_build b/Documentation/wscript_build
new file mode 100644
index 0000000..340333f
--- /dev/null
+++ b/Documentation/wscript_build
@@ -0,0 +1,16 @@
+if bld.env["RST2MAN"]:
+ # generate man page from Quickstart.rst
+ bld.new_task_gen(
+ source = "Quickstart.rst",
+ target = "kupfer.1",
+ rule = 'rst2man ${SRC} > ${TGT}',
+ )
+ bld.add_group()
+ # compress and install man page
+ bld.new_task_gen(
+ source = "kupfer.1",
+ target = "kupfer.1.gz",
+ rule = 'gzip -c ${SRC} > ${TGT}',
+ install_path = "${MANDIR}/man1",
+ )
+
diff --git a/data/wscript_build b/data/wscript_build
index 9dfc740..6713c66 100644
--- a/data/wscript_build
+++ b/data/wscript_build
@@ -6,22 +6,6 @@ bld.install_files("${DATADIR}/kupfer", "preferences.ui")
bld.install_files("${DATADIR}/kupfer/art", "art/*")
bld.install_files("${DATADIR}/kupfer/searchplugins", "searchplugins/*")
-if bld.env["RST2MAN"]:
- # generate man page
- bld.new_task_gen(
- source = "kupfer.1.rst",
- target = "kupfer.1",
- rule = 'rst2man ${SRC} > ${TGT}',
- )
- bld.add_group()
- # compress and install man page
- bld.new_task_gen(
- source = "kupfer.1",
- target = "kupfer.1.gz",
- rule = 'gzip -c ${SRC} > ${TGT}',
- install_path = "${MANDIR}/man1",
- )
-
# subst executable location into and
desktop_file = "kupfer.desktop.in"
dtp = bld.new_task_gen(
diff --git a/wscript b/wscript
index f387d3c..569a123 100644
--- a/wscript
+++ b/wscript
@@ -168,7 +168,7 @@ def build(bld):
dict = {"PYTHON": bld.env["PYTHON"]}
)
- bld.add_subdirs("po data extras")
+ bld.add_subdirs("po data Documentation extras")
def intlupdate(util):
"""Extract new strings for localization"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]