[Pkg-octave-devel] Upload of Octplot

Thomas Weber thomas.weber.mail at gmail.com
Sun Jun 3 20:00:43 UTC 2007


Am Sonntag, 3. Juni 2007 21:54 schrieb Rafael Laboissiere:
> * Thomas Weber <thomas.weber.mail at gmail.com> [2007-06-03 21:41]:
> > Am Sonntag, 3. Juni 2007 21:16 schrieb Rafael Laboissiere:
> > > Another solution for this problem would be to add to debian/rules
> > > something like the following to debian/rules (not tested!):
> > >
> > > savefiles = Makefile.in aclocal.m4 config.h.in configure
> > > demos/Makefile.in \ fonts/Makefile.in high_level/Makefile.in
> > > src/Makefile.in       \ tests/Makefile.in
> > >
> > > makebuilddir/octplot::
> > >         for f in $(savefiles) ; do                     \
> > >                 test -f $$f-orig || cp $$f $$f-orig ;  \
> > >         done
> > >
> > > clean::
> > >         for f in $(savefiles) ; do                             \
> > >                 test -f $$f-orig && mv $$f-orig $$f || true ;  \
> > >         done
> >
> > This only works if there are no real changes to configure.ac by
> > upstreams, doesn't it?
>
> I am afraid I am not following you here. 

Nevermind, you still answered my question :)

> Note that configure.ac is not in 
> $(savefiles).  The solution above would still need the changes for
> configure.ac in 50_link_with_glu.patch.  The changes above would just avoid
> the files modified by autoconf/automake to appear in diff.gz.

I meant that by "rescuing" the above files (and replacing them with our own 
stuff for the build), we might miss changes Shai makes to configure.ac (and 
therefore to his Makefile.in's). 

	Thomas



More information about the Pkg-octave-devel mailing list