[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
extending automake
From: |
Bob Rossi |
Subject: |
extending automake |
Date: |
Fri, 18 Apr 2008 19:44:47 -0400 |
User-agent: |
Mutt/1.5.15+20070412 (2007-04-11) |
Hi,
Up until now, I've just used the canned macros that automake provides.
However, I'm wondering if it has a way that I can extend it.
I basically have an xml file, and a python script, that generates a
header and a source file. I write this in multiple spots in my
Makefile.am
EXTRA_DIST = foo.xml
BUILT_SOURCES = foo.h foo.cc
foo.h foo.cc: $(srcdir)/foo.xml $(top_srcdir)/gen.py
python $(abs_top_srcdir)/gen.py $(srcdir)/foo.xml
I would like to automake this by writing a wrapper like,
AM_GEN(foo.xml)
Is this possible? If so, is there some documentation on how to do it?
I looked through the manual and didn't see it, or just missed it.
Thanks,
Bob Rossi
- extending automake,
Bob Rossi <=
- Re: extending automake, Brian Dessent, 2008/04/19
- Re: extending automake, Ralf Wildenhues, 2008/04/19
- Re: extending automake, Brian Dessent, 2008/04/19
- Re: extending automake, Ralf Wildenhues, 2008/04/19
- Re: extending automake, Brian Dessent, 2008/04/19
- Re: extending automake, Ralf Wildenhues, 2008/04/19
- Re: extending automake, Brian Dessent, 2008/04/19
- Re: extending automake, Ralf Wildenhues, 2008/04/19
- Re: extending automake, Bob Rossi, 2008/04/19
- Re: extending automake, Bob Friesenhahn, 2008/04/19