]> git.puffer.fish Git - matthieu/frr.git/commit
doc: fix distclean
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 18 May 2018 19:10:31 +0000 (19:10 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 18 May 2018 19:35:24 +0000 (19:35 +0000)
commit9eb51ce3610a3228d8473e420863d0ce88090c5a
tree2bcf7ca8a9f645e3a754a7c53f6d078721e2851c
parent29be7d92cc65e685bf3e543b1033729fc7b39235
doc: fix distclean

Apparently Automake has some undocumented logic somewhere that makes it
so any Makefile generated from an Automake Makefile.am is removed from
its secret list of things to delete that it deletes when performing a
recursive distclean before actually performing the recursive distclean
and since the secret list is automatically generated from the list of
things that Autoconf should generate in configure.ac we can't remove the
Makefile from that list or it will break Automake's list of things to
automatically generate that it generates from Autoconf's list of things
to automatically generate.

Thus, to prevent Automake from deleting Makefiles and then immediately
trying to use the Makefiles it just deleted to delete said Makefiles, we
must remove ourselves from the secret list, which is accomplished by
changing the file extension to '.am' instead of '.in'.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
doc/Makefile.am
doc/developer/.gitignore
doc/developer/Makefile.am [new file with mode: 0644]
doc/developer/Makefile.in [deleted file]
doc/manpages/.gitignore
doc/manpages/Makefile.am [new file with mode: 0644]
doc/manpages/Makefile.in [deleted file]
doc/user/.gitignore
doc/user/Makefile.am [new file with mode: 0644]
doc/user/Makefile.in [deleted file]