This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Adding a manpage to a autoconf/automake project (fwd)


>>>>> "Frank" == Frank Aune <Frank.Aune@uninett.no> writes:

Frank> In my ROOT/Makefile.am I got so far:
Frank> AUTOMAKE_OPTIONS = foreign 1.4
Frank> SUBDIRS = src

Frank> I think I should then add in my ROOT/Makefile.am
Frank> man_MANS = manpagename.8
Frank> where manpagename.8 resides in ROOT/man/ Perhaps I even
Frank> have to add:
Frank> SUBDIRS = src man
Frank> to ROOT/Makefile.am?

It depends on how you want to do things.

You could write:

    man_MANS = man/manpagename.8

in your top-level Makefile.am.

Or you could add a Makefile.am to the man/ directory, then update
SUBDIRS and AC_CONFIG_OUTPUT in the top level.

It's up to you.

Tom



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]