doc/: Clean up and improve, fix VPATH build
commitc4cb45e8de914f320fdb63b755d3a9a57fe9f0a4
authorMatthias Andree <matthias.andree@gmx.de>
Sat, 1 May 2021 10:15:55 +0000 (1 12:15 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Sat, 1 May 2021 13:44:54 +0000 (1 15:44 +0200)
tree0f4e3ce93fdd160e7b9e8760a0cf556f9d644c17
parent9c33820f43aede38d74e37a3b155497ee80c8092
doc/: Clean up and improve, fix VPATH build

- be sure to remove targets when recipe fails (.DELETE_ON_ERROR:)
- move @menu/@end menu generation into awk file to simplify Makefile.am
- replace $@ by explicit targets for portability
- add AM_MAKEINFOFLAGS to support VPATH builds i.e. srcdir != builddir
- replace some indirect dependencies by direct dependencies to make the
  Makefile.am easier to understand
- don't mess generated files except .info in $(srcdir)
- the yat2m build was moved, to avoid rebuilding distributed pwmd.1, see
  https://www.gnu.org/software/automake/manual/html_node/Errors-with-distclean.html
- misc cleanups
doc/Makefile.am
doc/extract-help-text.awk