+++ Wookey [2009-06-09 04:24 +0100]:
> 
> I _think_ this fixes it. It may break the native build as I don't grok
> what is actually installing the gdb-arm-linux-foo version of the
> manpages now.

Actally that patch was slightly broken, and excessive.

This fixes it for the cross-build, and seems to work find for the
native build too which is nice (if slightly mysterious).

If someone who understands cdbs agrees this is the right fix then I'll
file it as a bug:

--- rules.orig  2009-06-09 11:00:39.000000000 +0100
+++ rules       2009-06-09 13:49:36.000000000 +0100
@@ -159,9 +159,9 @@
 binary-post-install/gdb$(TS) ::
        if [ -x debian/tmp/usr/bin/run ]; then                          \
                mv debian/tmp/usr/bin/run                                       
\
-                 debian/gdb$(TS)/usr/bin/$(DEB_TARGET_ALIAS)-run;              
\
+                 debian/gdb$(TS)/usr/bin/$(TP)run;             \
                mv debian/tmp/usr/share/man/man1/run.1                  \
-                 debian/gdb$(TS)/usr/share/man/man1/$(DEB_TARGET_ALIAS)-run.1; 
\
+                 debian/gdb$(TS)/usr/share/man/man1/$(TP)run.1;        \
        fi
 ifeq ($(run_tests),yes)
        install -d debian/gdb$(TS)/usr/share/doc/gdb
@@ -212,7 +212,6 @@
 DEB_INSTALL_DOCS_gdb$(TS) = gdb/NEWS gdb/README gdb/doc/refcard.tex \
                objdir/gdb/doc/refcard.dvi objdir/gdb/doc/refcard.ps
 DEB_INSTALL_CHANGELOGS_gdb$(TS) = gdb/ChangeLog
-DEB_INSTALL_MANPAGES_gdb$(TS) = gdb/gdb.1
 ifneq ($(DEB_CROSS),yes)
 DEB_INSTALL_MANPAGES_gdb$(TS) += debian/gcore.1
 endif



Wookey
-- 
Principal hats:  iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to