[hamster-applet] overriding dist so that the generated help pages are included as well



commit 4c89a4b4170d84cc6a99d3bd6412a9982287dc2a
Author: Toms Bauģis <toms baugis gmail com>
Date:   Tue Jun 8 13:08:03 2010 +0100

    overriding dist so that the generated help pages are included as well

 wscript |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/wscript b/wscript
index c86f5db..bd94ae9 100644
--- a/wscript
+++ b/wscript
@@ -65,3 +65,17 @@ def build(bld):
         gnome.postinstall_icons() # Updating the icon cache
 
     bld.add_post_fun(post)
+
+
+def dist():
+    """overriding dist to include help pages
+       rather lame but effective. the pages are needed for library.gnome.org
+    """
+    # TODO - add dependency on build before dist
+    # TODO - maybe this can be done in a more elegant manner
+
+    import os
+    from Scripting import dist, build
+    os.system('cp -R build/default/help/ .')
+
+    dist(APPNAME, VERSION)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]