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 \
44 doc/user/flowspec.rst \
49 doc/user/Useful_Sysctl_Settings.md \
52 USERBUILD = doc/user/_build
53 $(USERBUILD)/.doctrees/environment.pickle: $(user_RSTFILES)
56 # automake integration (things that should be built in "all")
60 nodist_noinst_DATA += $(USERBUILD)/texinfo/frr.info
63 nodist_noinst_DATA += $(USERBUILD)/html/.buildinfo
71 info: $(USERBUILD)/texinfo/frr.info
72 html: $(USERBUILD)/html/.buildinfo
73 pdf: $(USERBUILD)/latexpdf
76 # hook-ins for clean / install / doc
79 .PHONY: clean-userdocs
80 clean-local: clean-userdocs
82 -rm -rf "$(USERBUILD)"
84 # INSTALL_INFO=install-info
85 .PHONY: install-info uninstall-info install-html uninstall-html
87 install-info: $(USERBUILD)/texinfo/frr.info
88 $(MKDIR_P) "$(DESTDIR)$(infodir)"
89 $(INSTALL_DATA) "$<" "$(DESTDIR)$(infodir)"
90 [ -z "${DESTDIR}" ] && $(INSTALL_INFO) --info-dir="$(DESTDIR)$(infodir)" "$<" || true
91 uninstall-info: $(USERBUILD)/texinfo/frr.info
92 -rm -f "$(DESTDIR)$(infodir)/$<"
93 [ -z "${DESTDIR}" ] && $(INSTALL_INFO) --delete --info-dir="$(DESTDIR)$(infodir)" "$<" || true
95 install-html: $(USERBUILD)/html/.buildinfo
96 $(MKDIR_P) "$(DESTDIR)$(htmldir)"
97 cp -r "$(USERBUILD)/html" "$(DESTDIR)$(htmldir)"
99 -rm -rf "$(DESTDIR)$(htmldir)/html"
101 .PHONY: install-data-local uninstall-local
104 TARGET_INSTALL_INFO=install-info
105 TARGET_UNINSTALL_INFO=uninstall-info
109 TARGET_INSTALL_HTML=install-html
110 TARGET_UNINSTALL_HTML=uninstall-html
113 # leave the comments in, this was causing weird reordering issues in automake
114 install-data-local: $(TARGET_INSTALL_INFO) $(TARGET_INSTALL_HTML)
116 uninstall-local: $(TARGET_UNINSTALL_INFO) $(TARGET_UNINSTALL_HTML)
118 doc: $(DOC_INFO) $(DOC_HTML)