r8237 - packages/branches/wesnoth/experimental/debian
Gerfried Fuchs
alfie at alioth.debian.org
Mon Oct 6 10:56:37 UTC 2008
Author: alfie
Date: 2008-10-06 10:56:37 +0000 (Mon, 06 Oct 2008)
New Revision: 8237
Modified:
packages/branches/wesnoth/experimental/debian/rules
Log:
Correct symlink handling with respect to package renaming
Modified: packages/branches/wesnoth/experimental/debian/rules
===================================================================
--- packages/branches/wesnoth/experimental/debian/rules 2008-10-05 23:10:20 UTC (rev 8236)
+++ packages/branches/wesnoth/experimental/debian/rules 2008-10-06 10:56:37 UTC (rev 8237)
@@ -152,25 +152,23 @@
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-all/usr/share/doc
- ln -s wesnoth-data debian/wesnoth-all/usr/share/doc/wesnoth-all
+ install -p -d -m755 debian/wesnoth/usr/share/doc
+ ln -s wesnoth-data debian/wesnoth/usr/share/doc/wesnoth-all
$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
# Build architecture dependant packages using the common target.
binary-arch: build-arch install-arch
- # workaround for dh_link (mis)behavior, see BTS#445550
-
- for i in debian/wesnoth/usr/share/man/*/man6/wesnoth.6; do \
+ for i in debian/wesnoth-core/usr/share/man/*/man6/wesnoth.6; do \
ln -s wesnoth.6.gz `dirname $$i`/wesnoth-nolog.6.gz; \
ln -s wesnoth.6.gz `dirname $$i`/wesnoth-smallgui.6.gz; \
ln -s wesnoth.6.gz `dirname $$i`/wesnoth_editor.6.gz; \
done
- ln -s wesnoth.6.gz debian/wesnoth/usr/share/man/man6/wesnoth-nolog.6.gz
- ln -s wesnoth.6.gz debian/wesnoth/usr/share/man/man6/wesnoth-smallgui.6.gz
- ln -s wesnoth.6.gz debian/wesnoth/usr/share/man/man6/wesnoth_editor.6.gz
+ ln -s wesnoth.6.gz debian/wesnoth-core/usr/share/man/man6/wesnoth-nolog.6.gz
+ ln -s wesnoth.6.gz debian/wesnoth-core/usr/share/man/man6/wesnoth-smallgui.6.gz
+ ln -s wesnoth.6.gz debian/wesnoth-core/usr/share/man/man6/wesnoth_editor.6.gz
- for i in wesnoth wesnoth-dbg; do \
+ for i in wesnoth-core wesnoth-dbg; do \
install -p -d -m755 debian/$$i/usr/share/doc; \
ln -s wesnoth-data debian/$$i/usr/share/doc/$$i; \
done
More information about the Pkg-games-commits
mailing list