13 doc/user/fabricd.rst \
15 doc/user/glossary.rst \
17 doc/user/installation.rst \
24 doc/user/ospf_fundamentals.rst \
25 doc/user/overview.rst \
26 doc/user/packet-dumps.rst \
31 doc/user/routemap.rst \
32 doc/user/routeserver.rst \
37 doc/user/snmptrap.rst \
43 doc/user/flowspec.rst \
48 doc/user/Useful_Sysctl_Settings.md \
51 USERBUILD = doc/user/_build
52 $(USERBUILD)/.doctrees/environment.pickle: $(user_RSTFILES)
55 # automake integration (things that should be built in "all")
59 nodist_noinst_DATA += $(USERBUILD)/texinfo/frr.info
62 nodist_noinst_DATA += $(USERBUILD)/html/.buildinfo
70 info: $(USERBUILD)/texinfo/frr.info
71 html: $(USERBUILD)/html/.buildinfo
72 pdf: $(USERBUILD)/latexpdf
75 # hook-ins for clean / install / doc
78 .PHONY: clean-userdocs
79 clean-local: clean-userdocs
81 -rm -rf "$(USERBUILD)"
83 # INSTALL_INFO=install-info
84 .PHONY: install-info uninstall-info install-html uninstall-html
86 install-info: $(USERBUILD)/texinfo/frr.info
87 $(MKDIR_P) "$(DESTDIR)$(infodir)"
88 $(INSTALL_DATA) "$<" "$(DESTDIR)$(infodir)"
89 [ -z "${DESTDIR}" ] && $(INSTALL_INFO) --info-dir="$(DESTDIR)$(infodir)" "$<" || true
90 uninstall-info: $(USERBUILD)/texinfo/frr.info
91 -rm -f "$(DESTDIR)$(infodir)/$<"
92 [ -z "${DESTDIR}" ] && $(INSTALL_INFO) --delete --info-dir="$(DESTDIR)$(infodir)" "$<" || true
94 install-html: $(USERBUILD)/html/.buildinfo
95 $(MKDIR_P) "$(DESTDIR)$(htmldir)"
96 cp -r "$(USERBUILD)/html" "$(DESTDIR)$(htmldir)"
98 -rm -rf "$(DESTDIR)$(htmldir)/html"
100 .PHONY: install-data-local uninstall-local
103 TARGET_INSTALL_INFO=install-info
104 TARGET_UNINSTALL_INFO=uninstall-info
108 TARGET_INSTALL_HTML=install-html
109 TARGET_UNINSTALL_HTML=uninstall-html
112 # leave the comments in, this was causing weird reordering issues in automake
113 install-data-local: $(TARGET_INSTALL_INFO) $(TARGET_INSTALL_HTML)
115 uninstall-local: $(TARGET_UNINSTALL_INFO) $(TARGET_UNINSTALL_HTML)
117 doc: $(DOC_INFO) $(DOC_HTML)