[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-octave-devel] Upload of Octplot



* Thomas Weber <thomas.weber.mail@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.  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.

-- 
Rafael



Reply to: