Makefile.am to create documentation. > .pdf.doc: > unoconv --listener & #some times first unoconv does not work. not repeatable. > unoconv --stdout -f pdf $< > $@ ||{sleep2 ;unoconv --stdout -f pdf > $< > $@ } > > .html.doc: > unoconv --listener & > unoconv --stdout -f html $< > $@ ||{sleep2 ;unoconv --stdout -f > html $< > $@ } > > html_DATA = swephprg.html swisseph.html > pdf_DATA = swephprg.pdf swisseph.pdf > > swephprg_html_SOURCES = $(docsrc)/swephprg.doc > > swisseph_html_SOURCES = $(docsrc)/swisseph.doc > > > swephprg_pdf_SOURCES = $(docsrc)/swephprg.doc > > swisseph_pdf_SOURCES = $(docsrc)/swisseph.doc
In the above I have defined a rule for creating a .pdf from a .doc Now I want to say that in particular swephprg.html depends on $(docsrc)/swephprg.doc in particular. I am using > swephprg_html_SOURCES = $(docsrc)/swephprg.doc to do this. But automake is saying > doc/Makefile.am:16: variable `swephprg_html_SOURCES' is defined but no > program or doc/Makefile.am:16: library has `swephprg_html' as canonical > name (possible typo) What does this mean? What is the proper way to say that swephprg.html depends on $(docsrc)/swephprg.doc? Thank You.
signature.asc
Description: This is a digitally signed message part.