Hello Oleg,

* Oleg V. Zhylin wrote on Mon, Nov 26, 2007 at 01:04:15AM CET:
> 
>   I'm using automake 1.9.6. Line in my yet simple Makefile.am 
> 
> dist_doc_DATA = README
> 
>   triggers error message 
> 
> Makefile.am:2: `dist_doc_DATA' is used but `docdir' is undefined

Use Automake 1.10, its manual contains this chapter:

>   '2.2.3 Standard Directory Variables' in Automake manual says that
> docdir's default value is
> 
> docdir        ${datarootdir}/doc/${PACKAGE}

For Automake 1.10, you will also need Autoconf 2.60+.  It's actually the
latter that defines docdir.

Anyway, for 1.9.6 you can workaround by adding
  docdir = ${datadir}/doc/${PACKAGE}

to Makefile.am.

Cheers,
Ralf


Reply via email to