Hi all,
To produce some documentation using doxygen, I have the following rule in
my Makefile.am:
doc : $(DOC_H_FILES)
DEFINESDOC=`echo @DEFS@ | sed -e "y/-D/ /"` && \
export VERSION DEFINESDOC DOC_H_FILES && \
makeDoc && \
touch doc
DOC_H_FILES is set in a file included in Makefile.am, VERSION is set by
AM_INIT_AUTOMAKE(fip, 1.03) and makeDoc is a script in which the exported
variables are used (at least I'm trying to use them).
Only DEFINESDOC is available in makeDoc!!! i.e. the variables not defined
in the rule are not exported (their value is correct just before calling
makeDoc).
What am I doing wrong?
TIA,
Fred