[SCM] Debian packaging of wesnoth branch, experimental, updated. 52393ded7cb0123699a9a0cff897b134eae84725
Gerfried Fuchs
rhonda at debian.at
Thu Mar 18 19:10:59 UTC 2010
The following commit has been merged in the experimental branch:
commit 46647bebc1cb0e798774ab09edcaf0b7aa257f1f
Author: Gerfried Fuchs <rhonda at debian.at>
Date: Tue Mar 16 23:54:07 2010 +0100
move binaries and manpages to their versioned name
diff --git a/debian/rules b/debian/rules
index 96880f2..c840fdf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -173,21 +173,37 @@ binary-indep: build-indep install-indep
# Build architecture dependant packages using the common target.
binary-arch: build-arch install-arch
+ # manpage symlinks for old binaries
for i in debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/*/man6/wesnoth.6; do \
ln -s wesnoth-$(BRANCH_VERSION).6.gz \
- `dirname $$i`/wesnoth-nolog-$(BRANCH_VERSION).6.gz; \
+ `dirname $$i`/wesnoth-$(BRANCH_VERSION)-nolog.6.gz; \
ln -s wesnoth-$(BRANCH_VERSION).6.gz \
- `dirname $$i`/wesnoth-smallgui-$(BRANCH_VERSION).6.gz; \
+ `dirname $$i`/wesnoth-$(BRANCH_VERSION)-smallgui.6.gz; \
ln -s wesnoth-$(BRANCH_VERSION).6.gz \
- `dirname $$i`/wesnoth_editor-$(BRANCH_VERSION).6.gz; \
+ `dirname $$i`/wesnoth-$(BRANCH_VERSION)_editor.6.gz; \
done
ln -s wesnoth-$(BRANCH_VERSION).6.gz \
- debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/man6/wesnoth-nolog-$(BRANCH_VERSION).6.gz
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/man6/wesnoth-$(BRANCH_VERSION)-nolog.6.gz
ln -s wesnoth-$(BRANCH_VERSION).6.gz \
- debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/man6/wesnoth-smallgui-$(BRANCH_VERSION).6.gz
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/man6/wesnoth-$(BRANCH_VERSION)-smallgui.6.gz
ln -s wesnoth-$(BRANCH_VERSION).6.gz \
- debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/man6/wesnoth_editor-$(BRANCH_VERSION).6.gz
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/man6/wesnoth-$(BRANCH_VERSION)_editor.6.gz
+ # move the manpages to their proper name
+ for i in debian/wesnoth-$(BRANCH_VERSION)-core/usr/share/man/*/man6/wesnoth.6; do \
+ mv $$i $$(echo $$i | sed -e 's/wesnoth/wesnoth-$(BRANCH_VERSION)/'); \
+ done
+ for i in debian/wesnoth-$(BRANCH_VERSION)-server/usr/share/man/*/man6/wesnothd.6; do \
+ mv $$i $$(echo $$i | sed -e 's/wesnothd/wesnothd-$(BRANCH_VERSION)/'); \
+ done
+
+ # move binaries to their proper name
+ mv debian/wesnoth-$(BRANCH_VERSION)-core/usr/games/wesnoth \
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/games/wesnoth-$(BRANCH_VERSION)
+ mv debian/wesnoth-$(BRANCH_VERSION)-server/usr/games/wesnothd \
+ debian/wesnoth-$(BRANCH_VERSION)-core/usr/games/wesnothd-$(BRANCH_VERSION)
+
+ # /usr/share/doc symlinks
for i in wesnoth-$(BRANCH_VERSION)-core wesnoth-$(BRANCH_VERSION)-dbg; do \
install -p -d -m755 debian/$$i/usr/share/doc; \
ln -s wesnoth-$(BRANCH_VERSION)-data debian/$$i/usr/share/doc/$$i; \
--
Debian packaging of wesnoth
More information about the Pkg-games-commits
mailing list