Author: alfie
Date: 2008-10-06 19:50:53 +0000 (Mon, 06 Oct 2008)
New Revision: 8244

Modified:
   packages/branches/wesnoth/experimental/debian/rules
Log:
do the symlink stuff properly, from wesnoth-all, wesnoth and wesnoth-editor 
packages

Modified: packages/branches/wesnoth/experimental/debian/rules
===================================================================
--- packages/branches/wesnoth/experimental/debian/rules 2008-10-06 18:04:34 UTC 
(rev 8243)
+++ packages/branches/wesnoth/experimental/debian/rules 2008-10-06 19:50:53 UTC 
(rev 8244)
@@ -152,8 +152,10 @@
        ln -s /usr/share/games/wesnoth/images/wesnoth_editor-icon.png \
                debian/wesnoth-data/usr/share/icons/wesnoth_editor-icon.png
 
-       install -p -d -m755 debian/wesnoth/usr/share/doc
-       ln -s wesnoth-data debian/wesnoth/usr/share/doc/wesnoth-all
+       for i in wesnoth wesnoth-all wesnoth-editor; do \
+               install -p -d -m755 debian/$$i/usr/share/doc; \
+               ln -s wesnoth-data debian/$$i/usr/share/doc/$$i; \
+               done
 
        $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
 


_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to