[Python-modules-commits] r8010 - in packages/sphinx/trunk/debian (rules)
piotr at users.alioth.debian.org
piotr at users.alioth.debian.org
Thu Mar 26 21:37:31 UTC 2009
Date: Thursday, March 26, 2009 @ 21:37:30
Author: piotr
Revision: 8010
add --install-layout=deb option to make sure /usr/local will not be used
Modified:
packages/sphinx/trunk/debian/rules
Modified: packages/sphinx/trunk/debian/rules
===================================================================
--- packages/sphinx/trunk/debian/rules 2009-03-26 21:25:00 UTC (rev 8009)
+++ packages/sphinx/trunk/debian/rules 2009-03-26 21:37:30 UTC (rev 8010)
@@ -32,16 +32,17 @@
dh_testroot
dh_installdirs
- python setup.py install --no-compile --root $(PACKAGE_DIR)
+ python setup.py install --no-compile --install-layout=deb --root $(PACKAGE_DIR)
# move static files outside {site,dist}-packages
mv $(SITE_PACKAGES_DIR)/sphinx/texinputs $(PACKAGE_DIR)/usr/share/sphinx/
mv $(SITE_PACKAGES_DIR)/sphinx/themes $(PACKAGE_DIR)/usr/share/sphinx/
- for lang in `find $(SITE_PACKAGES_DIR)/sphinx/locale -maxdepth 1 -mindepth 1 -type d -printf "%f "`;\
- do \
- mkdir $(PACKAGE_DIR)/usr/share/sphinx/locale/$$lang; \
- mv $(SITE_PACKAGES_DIR)/sphinx/locale/$$lang/LC_MESSAGES/sphinx.js \
- $(PACKAGE_DIR)/usr/share/sphinx/locale/$$lang/; \
- rm -rf $(SITE_PACKAGES_DIR)/sphinx/locale/$$lang; \
+ for lang in `find $(SITE_PACKAGES_DIR)/sphinx/locale\
+ -maxdepth 1 -mindepth 1 -type d -printf "%f "`;\
+ do\
+ mkdir $(PACKAGE_DIR)/usr/share/sphinx/locale/$$lang;\
+ mv $(SITE_PACKAGES_DIR)/sphinx/locale/$$lang/LC_MESSAGES/sphinx.js\
+ $(PACKAGE_DIR)/usr/share/sphinx/locale/$$lang/;\
+ rm -rf $(SITE_PACKAGES_DIR)/sphinx/locale/$$lang;\
done
rm -f $(SITE_PACKAGES_DIR)/sphinx/locale/sphinx.pot
# use packaged jQuery
More information about the Python-modules-commits
mailing list