doc: General makefile cleanup.
authorJon A. Cruz <jonc@osg.samsung.com>
Tue, 9 Dec 2014 09:34:22 +0000 (01:34 -0800)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 16 Dec 2014 14:48:32 +0000 (16:48 +0200)
commitdec30252b0a85930237bbe3369ea0bf378a603ec
tree75be18d19651c5af8ed837210238b66aeefc3d13
parent434fd45e4b62a5e410020bbc124d8e3460729aa2
doc: General makefile cleanup.

This is a general cleanup of the makefile in order to bring it more inline
with standard make practices. Cleanups included more use of automatic
variables, switching AM_V_GEN to AM_V_at to have one 'GEN' visible per file,
splitting copy operations to proper rules, and using order only dependencies
to properly create directories on-demand.

Changes also correct missing use of $(builddir) that has gone unnoticed as
it defaults to the current directory ('.').

Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
doc/publican/Makefile.am