In message <[EMAIL PROTECTED]> you wrote:
> Steps to reproduce:
> 1) DEB_BUILD_OPTIONS="nostrip noopt debug" fakeroot apt-get --build source
> gxine
[snip]
> dh_install
> --sourcedir="/home/lindi/debian/debian-gxine/gxine-0.5.4/debian/tmp"
> cp: cannot stat
> `/home/lindi/debian/debian-gxine/gxine-0.5.4/debian/tmp//usr/share/applications/gxine.desktop':
> No such file or directory
> dh_install: command returned error code 256
> make: *** [binary-arch] Error 1
[snip]
> This makes it more difficult to debug other bugs in xine.
The attached patch (which I've committed to CVS) fixes this.
Alternatively, you could use the "gxine-test" script. While this doesn't test
building and installing a .deb, it's good enough for
$ debuild clean
$ DEB_BUILD_OPTIONS="nostrip noopt debug" ./debian/rules build
$ ./gxine-test --gdb
BTW, a CVS HEAD snapshot, current as of the date of this message, is
available from <URL:http://zap.tartarus.org/~ds/gxine-cvs.tar.bz2>. This is
*not* a release tarball :-)
--
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Travel less. Share transport more. PRODUCE LESS CARBON DIOXIDE.
RISC OS 4 easter egg E3A00002 E28F1004 E3A02000 EF00001E 55515249 736C6974 00
Index: Makefile.am
===================================================================
RCS file: /cvsroot/xine/gnome-xine/Makefile.am,v
retrieving revision 1.22
diff -u -r1.22 Makefile.am
--- Makefile.am 4 Apr 2006 21:55:02 -0000 1.22
+++ Makefile.am 10 Apr 2006 18:54:28 -0000
@@ -13,6 +13,7 @@
$(MAKE) $@ CFLAGS="$(DEBUG_CFLAGS)" LDFLAGS="$(DEBUG_LDFLAGS)") \
|| exit; \
done;
+ $(MAKE) all-am CFLAGS="$(DEBUG_CFLAGS)" LDFLAGS="$(DEBUG_LDFLAGS)") \
install-debug: debug
@list='$(SUBDIRS)'; for subdir in $$list; do \
@@ -20,6 +21,7 @@
$(MAKE) $@ CFLAGS="$(DEBUG_CFLAGS)" LDFLAGS="$(DEBUG_LDFLAGS)") \
|| exit; \
done;
+ $(MAKE) install-am CFLAGS="$(DEBUG_CFLAGS)" LDFLAGS="$(DEBUG_LDFLAGS)")
\
prune-cache:
-rm -f config.cache