mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 13:20:12 +00:00
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>
This commit is contained in:
parent
29be7d92cc
commit
9eb51ce361
@ -140,7 +140,7 @@ EXTRA_DIST = frr-sphinx.mk \
|
||||
manpages/index.rst \
|
||||
manpages/isisd.rst \
|
||||
manpages/ldpd.rst \
|
||||
manpages/Makefile \
|
||||
manpages/Makefile.am \
|
||||
manpages/mtracebis.rst \
|
||||
manpages/nhrpd.rst \
|
||||
manpages/ospf6d.rst \
|
||||
@ -182,7 +182,7 @@ EXTRA_DIST = frr-sphinx.mk \
|
||||
developer/index.rst \
|
||||
developer/ldpd-basic-test-setup.md \
|
||||
developer/library.rst \
|
||||
developer/Makefile \
|
||||
developer/Makefile.in \
|
||||
developer/memtypes.rst \
|
||||
developer/modules.rst \
|
||||
developer/next-hop-tracking.rst \
|
||||
@ -205,7 +205,7 @@ EXTRA_DIST = frr-sphinx.mk \
|
||||
user/ipv6.rst \
|
||||
user/isisd.rst \
|
||||
user/kernel.rst \
|
||||
user/Makefile \
|
||||
user/Makefile.am \
|
||||
user/nhrpd.rst \
|
||||
user/ospf6d.rst \
|
||||
user/ospfd.rst \
|
||||
|
1
doc/developer/.gitignore
vendored
1
doc/developer/.gitignore
vendored
@ -1,3 +1,2 @@
|
||||
/_templates
|
||||
/_build
|
||||
!/Makefile.in
|
||||
|
1
doc/manpages/.gitignore
vendored
1
doc/manpages/.gitignore
vendored
@ -1,3 +1,2 @@
|
||||
/_templates
|
||||
/_build
|
||||
!/Makefile.in
|
||||
|
@ -34,11 +34,6 @@ include @srcdir@/../frr-sphinx.mk
|
||||
# tags
|
||||
# ctags
|
||||
|
||||
# ignore these targets
|
||||
EMPTY_AUTOMAKE_TARGETS = dvi pdf ps tags ctags distdir installdirs check installcheck install-dvi install-ps install-html install-pdf install-info install-exec
|
||||
.PHONY: $(EMPTY_AUTOMAKE_TARGETS)
|
||||
$(EMPTY_AUTOMAKE_TARGETS):
|
||||
|
||||
# These targets are automatically generated by Sphinx but conflict with
|
||||
# implicitly defined Automake rules, so we manually override them to nothing.
|
||||
# The other option is deleting the Sphinx-generated rules, which suppresses the
|
||||
@ -51,5 +46,3 @@ all: man
|
||||
install-data: man
|
||||
|
||||
install: install-data
|
||||
|
||||
mostlyclean distclean maintainer-clean: clean
|
1
doc/user/.gitignore
vendored
1
doc/user/.gitignore
vendored
@ -1,3 +1,2 @@
|
||||
/_templates
|
||||
/_build
|
||||
!/Makefile.in
|
||||
|
@ -34,11 +34,6 @@ include @srcdir@/../frr-sphinx.mk
|
||||
# tags
|
||||
# ctags
|
||||
|
||||
# ignore these targets
|
||||
EMPTY_AUTOMAKE_TARGETS = dvi ps tags ctags distdir install-exec install-dvi install-ps installdirs check installcheck install-html install-pdf install-data install
|
||||
.PHONY: $(EMPTY_AUTOMAKE_TARGETS)
|
||||
$(EMPTY_AUTOMAKE_TARGETS):
|
||||
|
||||
# When building 'all', the logic is that we want to make docs that are easily
|
||||
# readable by the person that just built them. Technically the reST source is
|
||||
# readable in its own right, but we'll also build info and html because those
|
||||
@ -58,5 +53,3 @@ install-info: info
|
||||
install-data: install-info
|
||||
|
||||
install: install-data
|
||||
|
||||
mostlyclean distclean maintainer-clean: clean
|
Loading…
Reference in New Issue
Block a user