Oops. I missed that in the man page. I'll try to RTFM more before I
ask questions next time.
Thanks,
Dov
On 1/28/07, Behdad Esfahbod <behdad_at_behdad.org> wrote:
> On Sun, 2007-01-28 at 11:35 +0200, Dov Grobgeld wrote:
> > Thanks Behdad.
> >
> > automake/autoconf is still black magic to me.
> >
> > One of the reason being that I a long time ago moved over to using
> > scons for all my non-release development, and I have been so much
> > happier ever since. ;-)
>
> Ah, I see. Well, after years of trying to figure them out, I actually
> do feel comfortable about them these days. It's a lot of work to write
> indeed, but not black magic anymore.
>
>
> > Btw, these lines of your should probably be put somewhere on the gob pages.
>
> I got most of it from gob.1. Just added the EXTRA_DIST and
> ${top_builddir}/missing --run to add the effect you want. Feel free to
> forward this to the list. Seems like my messages don't make it there.
>
> behdad
>
>
> > Dov
> >
> >
> > On 1/28/07, Behdad Esfahbod <behdad_at_behdad.org> wrote:
> > > On Sun, 2007-01-28 at 11:16 +0200, Dov Grobgeld wrote:
> > > > Hi Behdad,
> > > >
> > > > Of course, but that still doesn't answer the question of how I can
> > > > trigger make to automatically generate the .[ch] files files from the
> > > > gob files if they change. I.e. on one hand I want to have make do the
> > > > correct building (through autoconf/automake) and on the other hand I
> > > > don't want to make "configure; make install" dependent on gob2.
> > >
> > > Ah, Ok. I thought you already have the Makefile rules to do that. Try
> > > something like this in your Makefile.am:
> > >
> > > foo_SOURCES = foo.gob foo.gob.stamp foo.c foo.h foo-private.h
> > > BUILT_SOURCES = foo.gob.stamp
> > > MAINTAINERCLEANFILES = foo.gob.stamp
> > > EXTRA_DIST += foo.c foo.h foo-private.h
> > >
> > > %.gob.stamp: %.gob
> > > $(top_builddir)/missing --run @GOB2@ --no-touch $<
> > > @touch $@
> > >
> > >
> > > behdad
> > >
> > > > Dov
> > > >
> > > > On 1/28/07, Behdad Esfahbod <behdad_at_behdad.org> wrote:
> > > > > On Sun, 2007-01-28 at 03:45 -0500, Dov Grobgeld wrote:
> > > > > > Hello,
> > > > > >
> > > > > > I was wondering if anyone has written any autoconf/automake macros
> > > > > > that allow running gob2 during autoconf/automake , and thus does not
> > > > > > require the installation of gob2 for the end user who is doing
> > > > > > ./configure ; make install ? I have successfully used that technique
> > > > > > for running doxygen, and it then occured to me that it would make
> > > > > > sense doing the same for gob2.
> > > > >
> > > > > Hi Dov,
> > > > >
> > > > > I think all you need to do is to add the generated files to EXTRA_DIST.
> > > > >
> > > > > Regards,
> > > > > behdad
> > > > >
> > > > > > Regards,
> > > > > > Dov
> > > > >
> > > > > --
> > > > > behdad
> > > > > http://behdad.org/
> > > > >
> > > > > "Those who would give up Essential Liberty to purchase a little
> > > > > Temporary Safety, deserve neither Liberty nor Safety."
> > > > > -- Benjamin Franklin, 1759
> > > > >
> > > > >
> > > > >
> > > > >
> > > --
> > > behdad
> > > http://behdad.org/
> > >
> > > "Those who would give up Essential Liberty to purchase a little
> > > Temporary Safety, deserve neither Liberty nor Safety."
> > > -- Benjamin Franklin, 1759
> > >
> > >
> > >
> > >
> --
> behdad
> http://behdad.org/
>
> "Those who would give up Essential Liberty to purchase a little
> Temporary Safety, deserve neither Liberty nor Safety."
> -- Benjamin Franklin, 1759
>
>
>
>
Received on Sun Jan 28 2007 - 11:15:55 CST
This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:05:02 CDT