Moving make target update-doc-sources from top-level Makefile to btest

Makefile.
This commit is contained in:
Robin Sommer 2012-07-02 16:14:24 -07:00
parent 5ede1418fc
commit b3155b7b4b
4 changed files with 6 additions and 7 deletions

View file

@ -41,9 +41,6 @@ broxygen: configured
broxygenclean: configured broxygenclean: configured
$(MAKE) -C $(BUILD) $@ $(MAKE) -C $(BUILD) $@
update-doc-sources:
./doc/scripts/genDocSourcesList.sh ./doc/scripts/DocSourcesList.cmake
dist: dist:
@rm -rf $(VERSION_FULL) $(VERSION_FULL).tgz @rm -rf $(VERSION_FULL) $(VERSION_FULL).tgz
@rm -rf $(VERSION_MIN) $(VERSION_MIN).tgz @rm -rf $(VERSION_MIN) $(VERSION_MIN).tgz

View file

@ -42,6 +42,7 @@ rest_target(${psd} base/frameworks/logging/postprocessors/scp.bro)
rest_target(${psd} base/frameworks/logging/postprocessors/sftp.bro) rest_target(${psd} base/frameworks/logging/postprocessors/sftp.bro)
rest_target(${psd} base/frameworks/logging/writers/ascii.bro) rest_target(${psd} base/frameworks/logging/writers/ascii.bro)
rest_target(${psd} base/frameworks/logging/writers/dataseries.bro) rest_target(${psd} base/frameworks/logging/writers/dataseries.bro)
rest_target(${psd} base/frameworks/logging/writers/none.bro)
rest_target(${psd} base/frameworks/metrics/cluster.bro) rest_target(${psd} base/frameworks/metrics/cluster.bro)
rest_target(${psd} base/frameworks/metrics/main.bro) rest_target(${psd} base/frameworks/metrics/main.bro)
rest_target(${psd} base/frameworks/metrics/non-cluster.bro) rest_target(${psd} base/frameworks/metrics/non-cluster.bro)

View file

@ -21,4 +21,7 @@ cleanup:
@rm -f $(DIAG) @rm -f $(DIAG)
@rm -f .tmp/script-coverage* @rm -f .tmp/script-coverage*
update-doc-sources:
../../doc/scripts/genDocSourcesList.sh ../../doc/scripts/DocSourcesList.cmake
.PHONY: all btest-verbose brief btest-brief coverage cleanup .PHONY: all btest-verbose brief btest-brief coverage cleanup

View file

@ -1,10 +1,8 @@
# This tests that we're generating bro script documentation for all the # This tests that we're generating bro script documentation for all the
# available bro scripts. If this fails, then the genDocSources.sh needs # available bro scripts. If this fails, then the genDocSources.sh needs
# to be run to produce a new DocSourcesList.cmake or genDocSources.sh needs # to be run to produce a new DocSourcesList.cmake or genDocSources.sh needs
# to be updated to blacklist undesired scripts. To update, run the # to be updated to blacklist undesired scripts. To update, run
# top-level Makefile: # "make update-doc-sources"
#
# make update-doc-sources
# #
# @TEST-EXEC: $DIST/doc/scripts/genDocSourcesList.sh # @TEST-EXEC: $DIST/doc/scripts/genDocSourcesList.sh
# @TEST-EXEC: cmp $DIST/doc/scripts/DocSourcesList.cmake ./DocSourcesList.cmake # @TEST-EXEC: cmp $DIST/doc/scripts/DocSourcesList.cmake ./DocSourcesList.cmake