From 30bdf4c470174e30e1a6a3cf34dedee85a386c68 Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Thu, 29 Jan 2009 01:42:50 +0100 Subject: [PATCH] [FIX] Compile the migrate script in doc/migrate lp bug: https://launchpad.net/bugs/311981 fixed bzr revid: stephane@tinyerp.com-20090129004250-ca0akzfsdxlc4jd7 --- rpminstall_sh.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/rpminstall_sh.txt b/rpminstall_sh.txt index c184585e94f..5694f250b5d 100644 --- a/rpminstall_sh.txt +++ b/rpminstall_sh.txt @@ -7,6 +7,7 @@ # Need to overwrite the install-part of the RPM to append the # compression-suffix onto the filenames for the man-pages. # +python -O -c "import compileall, os; compileall.compile_dir(os.path.join(os.environ['PWD'], 'doc'), force=True)" python setup.py install --optimize 1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES SUFFIX=gz