On Sun, Oct 18, 2009 at 09:27:20AM -0400, Hubert Chathi wrote:
> On Sun, 18 Oct 2009 11:27:38 +0100 Julian Gilbey
> <[email protected]> wrote:
>
> > I'm bemused, incidentally, how your package ever built successfully on
> > i386. Perhaps there was a change in the cdbs package or something
> > like that?
>
> The problem only manifests itself during a binary-arch build, and
> doesn't happen during a full package build.
Not true, it seems - it happened to me during a full package build.
Here's a second attempt at a diff to debian/rules; does this work for
you? It fixes the problems you identified, although it does leave in
the removal of info and makefiles.
Other comments in new bug reports....
HTH,
Julian
--- /tmp/asymptote-1.86/debian/rules.orig 2009-10-17 20:58:24.000000000
+0100
+++ /tmp/asymptote-1.86/debian/rules 2009-10-18 15:24:01.000000000 +0100
@@ -12,7 +12,8 @@
DEB_CONFIGURE_EXTRA_FLAGS = --enable-gc=system
--with-latex=/usr/share/texmf/tex/latex
--with-context=/usr/share/texmf/tex/context/third
DEB_INSTALL_INFO_asymptote-doc = doc/png/asymptote.info* doc/FAQ/asy-faq.info
-DEB_INSTALL_DOCS_asymptote-doc = doc/asymptote.pdf doc/png
doc/FAQ/asy-faq.ascii
+DEB_INSTALL_DOCS_asymptote-doc = doc/asymptote.pdf doc/png \
+ doc/FAQ/asy-faq.ascii examples
DEB_INSTALL_MANPAGES_asymptote = doc/asy.1 doc/xasy.1x
DEB_COMPRESS_EXCLUDE = .pdf
@@ -37,6 +38,9 @@
mv debian/asymptote/usr/share/asymptote/asy.vim
debian/asymptote/usr/share/doc/asymptote/examples
+ @ # remove examples from asymptote binary
+ rm -rf debian/asymptote/usr/share/doc/asymptote/examples
+
# this needs to be run before any of the binary-install/asymptote-doc stuff
# from cdbs
common-install-prehook-indep::
@@ -44,6 +48,7 @@
binary-install/asymptote-doc::
mv -f debian/asymptote-doc/usr/share/doc/asymptote-doc/png
debian/asymptote-doc/usr/share/doc/asymptote-doc/html
+ rm -f debian/asymptote-doc/usr/share/doc/asymptote-doc/html/Makefile*
debian/asymptote-doc/usr/share/doc/asymptote-doc/html/asymptote.info*
clean::
# cd doc && [ ! -f Makefile ] || $(MAKE) distclean
@@ -57,7 +62,3 @@
binary-predeb/asymptote::
chmod +x debian/$(cdbs_curpkg)/usr/share/asymptote/asy-kate.sh
# $(RM) debian/$(cdbs_curpkg)/usr/share/asymptote/*.el
- # move examples from asymptote to asymptote-doc
- mv -f debian/asymptote/usr/share/doc/asymptote/examples
debian/asymptote-doc/usr/share/doc/asymptote-doc
-
-
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]