Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use autotools with README.md

I'm using autotools for a libraries hosted on GitHub. Instead of using an ordinary README text file, I want to use README.md.

When running automake, I get the following error

Makefile.am: required file `./README' not found 

Is it possible to tell autotools not to check for README?

like image 283
Arnold Daniels Avatar asked Feb 21 '13 22:02

Arnold Daniels


1 Answers

Just pass the foreign option to automake. This tells it that your software does not conform to the typical gnu standards, and thus omitting README is not an error. Typically, this is done in configure.ac:

AM_INIT_AUTOMAKE([foreign]) 

but it can also be done by assigning AUTOMAKE_OPTIONS in Makefile.am:

AUTOMAKE_OPTIONS = foreign 
like image 138
William Pursell Avatar answered Oct 11 '22 20:10

William Pursell