#
# doc/developer
#

dev_RSTFILES = \
	doc/developer/bgp-typecodes.rst \
	doc/developer/bgpd.rst \
	doc/developer/bmp.rst \
	doc/developer/building-frr-for-alpine.rst \
	doc/developer/building-frr-for-archlinux.rst \
	doc/developer/building-frr-for-centos6.rst \
	doc/developer/building-frr-for-centos7.rst \
	doc/developer/building-frr-for-debian8.rst \
	doc/developer/building-frr-for-debian9.rst \
	doc/developer/building-frr-for-debian12.rst \
	doc/developer/building-frr-for-fedora.rst \
	doc/developer/building-frr-for-freebsd10.rst \
	doc/developer/building-frr-for-freebsd11.rst \
	doc/developer/building-frr-for-freebsd13.rst \
	doc/developer/building-frr-for-freebsd9.rst \
	doc/developer/building-frr-for-netbsd6.rst \
	doc/developer/building-frr-for-netbsd7.rst \
	doc/developer/building-frr-for-openbsd6.rst \
	doc/developer/building-frr-for-opensuse.rst \
	doc/developer/building-frr-for-openwrt.rst \
	doc/developer/building-frr-for-ubuntu1404.rst \
	doc/developer/building-frr-for-ubuntu1604.rst \
	doc/developer/building-frr-for-ubuntu1804.rst \
	doc/developer/building-frr-for-ubuntu2004.rst \
	doc/developer/building-frr-for-ubuntu2204.rst \
	doc/developer/building-libunwind-note.rst \
	doc/developer/building-libyang.rst \
	doc/developer/building.rst \
	doc/developer/checkpatch.rst \
	doc/developer/cli.rst \
	doc/developer/conf.py \
	doc/developer/cross-compiling.rst \
	doc/developer/frr-release-procedure.rst \
	doc/developer/grpc.rst \
	doc/developer/hooks.rst \
	doc/developer/include-compile.rst \
	doc/developer/index.rst \
	doc/developer/library.rst \
	doc/developer/link-state.rst \
	doc/developer/lists.rst \
	doc/developer/locking.rst \
	doc/developer/logging.rst \
	doc/developer/memtypes.rst \
	doc/developer/modules.rst \
	doc/developer/next-hop-tracking.rst \
	doc/developer/ospf-api.rst \
	doc/developer/ospf-sr.rst \
	doc/developer/ospf.rst \
	doc/developer/packaging-debian.rst \
	doc/developer/packaging-redhat.rst \
	doc/developer/packaging.rst \
	doc/developer/path-internals-daemon.rst \
	doc/developer/path-internals-pcep.rst \
	doc/developer/path-internals.rst \
	doc/developer/path.rst \
	doc/developer/rcu.rst \
	doc/developer/scripting.rst \
	doc/developer/static-linking.rst \
	doc/developer/tracing.rst \
	doc/developer/testing.rst \
	doc/developer/topotests-snippets.rst \
	doc/developer/topotests-markers.rst \
	doc/developer/topotests.rst \
	doc/developer/workflow.rst \
	doc/developer/xrefs.rst \
	doc/developer/zebra.rst \
	doc/developer/northbound/advanced-topics.rst \
	doc/developer/northbound/architecture.rst \
	doc/developer/northbound/demos.rst \
	doc/developer/northbound/links.rst \
	doc/developer/northbound/northbound.rst \
	doc/developer/northbound/operational-data-rpcs-and-notifications.rst \
	doc/developer/northbound/plugins-sysrepo.rst \
	doc/developer/northbound/ppr-basic-test-topology.rst \
	doc/developer/northbound/ppr-mpls-basic-test-topology.rst \
	doc/developer/northbound/retrofitting-configuration-commands.rst \
	doc/developer/northbound/transactional-cli.rst \
	doc/developer/northbound/yang-module-translator.rst \
	doc/developer/northbound/yang-tools.rst \
	# end

EXTRA_DIST += \
	$(dev_RSTFILES) \
	doc/developer/draft-zebra-00.ms \
	doc/developer/ldpd-basic-test-setup.md \
	doc/developer/release-announcement-template.md \
	doc/developer/_static/overrides.css \
	# end

DEVBUILD = doc/developer/_build
$(DEVBUILD)/.doctrees/environment.pickle: $(dev_RSTFILES)

#
# nothing built automatically for "all" target.
#

#
# standard targets
#

developer-info: $(DEVBUILD)/texinfo/frr.info
developer-html: $(DEVBUILD)/html/.buildinfo
developer-pdf:  $(DEVBUILD)/latexpdf

#
# hook-in for clean
#

.PHONY: clean-devdocs
clean-local: clean-devdocs
clean-devdocs:
	-rm -rf "$(DEVBUILD)"
