Commit graph

31 commits

Author SHA1 Message Date
Robin Sommer
d3afe97f83 Splitting test-all target into Bro tests and test-aux.
Also making failure of one sub-suite non-fatal.
2015-03-17 15:57:28 -07:00
Robin Sommer
bd8893f0d0 Changing Makefile's test-all to run test-all for broctl. 2014-12-31 09:19:09 -08:00
Raúl Benencia
127a61597e Add/invoke "distclean" for testing directories.
BIT-1292 #close
2014-12-01 10:43:41 -06:00
Robin Sommer
97ef77c2b7 Adding plugin testing to Makefile's test-all. 2014-08-13 21:38:18 -07:00
Robin Sommer
c686d5bc84 Extending "make test-all" to include aux/bro-aux.
Also updating bro-aux submodule.
2014-06-26 17:36:18 -07:00
Jon Siwek
9967aea52c Integrate new Broxygen functionality into Sphinx.
Add a "broxygen" domain Sphinx extension w/ directives to allow
on-the-fly documentation to be generated w/ Bro and included in files.

This means all autogenerated reST docs are now done by Bro.  The odd
CMake/Python glue scipts which used to generate some portions are now
gone.  Bro and the Sphinx extension handle checking for outdated docs
themselves.

Parallel builds of `make doc` target should now work (mostly because
I don't think there's any tasks that can be done in parallel anymore).

Overall, this seems to simplify things and make the Broxygen-generated
portions of the documentation visible/traceable from the main Sphinx
source tree.  The one odd thing still is that per-script documentation
is rsync'd in to a shadow copy of the Sphinx source tree within the
build dir.  This is less elegant than using the new broxygen extension
to make per-script docs, but rsync is faster and simpler.  Simpler as in
less code because it seems like, in the best case, I'd need to write a
custom Sphinx Builder to be able to get that to even work.
2013-11-21 14:34:32 -06:00
Robin Sommer
7706ba1b2f Fix for setting REPO in Makefile.
The basename wasn't sufficient as it could leave the repo URL in.
2013-09-24 13:22:56 -07:00
Jon Siwek
6e71c97bfe Update 'make dist' target. 2013-09-23 14:44:50 -05:00
Robin Sommer
97cb04aae2 Merge remote-tracking branch 'origin/topic/jsiwek/raw-exec-pgrp'
* origin/topic/jsiwek/raw-exec-pgrp:
  Kill raw input reader's child by process group.

BIT-1081 #merged
2013-09-20 14:12:59 -07:00
Robin Sommer
45f6f11e51 Adding Makefile target test-all that also runs the BroControl test
suite.

Eventually "make test" should do this but let's trigger it separately
for now.
2013-05-31 17:32:27 -07:00
Robin Sommer
b3155b7b4b Moving make target update-doc-sources from top-level Makefile to btest
Makefile.
2012-07-02 16:14:24 -07:00
Robin Sommer
ea2bd659f3 Adding target update-doc-sources to top-level Makefile that runs
genDocSourcesList.sh.
2012-05-17 12:41:10 -07:00
Daniel Thayer
d9dccd9e65 corrected some minor typos 2012-01-11 13:02:12 -06:00
Robin Sommer
aa4cc3c4a1 Adding top-level "test" target to Makefile. 2012-01-04 12:34:36 -08:00
Jon Siwek
0cd03986a1 CMake 2.6 top-level 'install' target compat. (fixes #729) 2012-01-03 10:56:33 -06:00
Jon Siwek
f6494a09c9 Add missing doc targets to top Makefile; remove old doc/Makefile. (fixes #705) 2011-12-01 09:16:38 -06:00
Jon Siwek
1ab266222e Fix parallel make portability 2011-11-18 11:43:53 -06:00
Jon Siwek
4ee05d32db Revert "Fix parallel make from top-level to work on more platforms"
This reverts commit a92592d08d.
2011-11-18 11:20:25 -06:00
Jon Siwek
a92592d08d Fix parallel make from top-level to work on more platforms 2011-11-11 11:18:49 -06:00
Robin Sommer
a0ff75ecd6 Different way to figure out the repository name.
My directory was called 'master' so I got 'master-1.6.tar.gz'.
2011-10-25 17:35:49 -07:00
Jon Siwek
8de668791a change distclean to only remove build dir 2011-10-21 15:19:26 -05:00
Jon Siwek
59015da59f make dist now cleans the copied source 2011-10-19 15:39:49 -05:00
Jon Siwek
be7ca62384 New make dist/distclean targets 2011-10-18 22:06:26 -05:00
Jon Siwek
5288e7a7c9 Adding "install-aux" target + updating bro-aux submodule.
And INSTALL file updates + format tweaks.
2011-09-19 14:53:39 -05:00
Jon Siwek
80e154ba3c Various changes to documentation framework.
- Reorganize top-level 'doc' Makefile target so submodules can easily
  add their own doc-generating routines to it.  e.g. the Bro project
  makes a placeholder 'doc' target, then adds 'restdoc', 'sphinxdoc';
  later Broccoli can add it's own target as a dependency for generating
  API docs.

- Fixed generated docs for BIFs not being organized under a base/
  subdirectory like the original source files.

- Fixed documentation style for function parameters not applying to
  functions declared as record fields.

- Misc. script documentation tweaks to address warnings given by Sphinx.
2011-09-07 10:02:15 -05:00
Jon Siwek
78512569e9 Move the make dist target into a shell script.
With the side effect of making `sudo make install` from the source
root work again (the $(PWD) in the Makefile didn't propagate w/ sudo)
2011-09-01 16:34:53 -05:00
Jon Siwek
bf84801249 Packaging tweaks and rewrite of 'dist' target.
- Move binary packaging scripts out of source root into pkg/ subdir
- A consistent CMake version (2.8.4) is now enforced for binary packaging
- Added a 'bindist' target to top Makefile as a convenience
- The 'dist' target has been rewritten to depend on standard system
  command/utils rather than CMake and the full dependency chain of Bro,
  addressing #398 (but the CMake 'package_source' target is still available
  in the generated build/Makefile and can be used if desired)
2011-05-20 17:08:59 -05:00
Jon Siwek
80143e72ba Fixing top-level Makefile target 'doc-clean' (now 'docclean') 2011-05-10 09:38:50 -05:00
Jon Siwek
b8f6c5bc7d Improving documention for the Bro script document-generation process
Some minor organizational revisions to the python scripting.
2011-04-06 16:39:50 -05:00
Jon Siwek
1d8ad8e946 Changes for packaging
- Added 'dist' target to top-level Makefile for doing source packages
- Added 'make-*-packages' scripts for generating binary packages
- Fixes for the ConfigurePackaging CMake script
  - No longer fails when package version doesn't include a patch-level
  - Now considers the case when a package doesn't install any
    config files and the INSTALLED_CONFIG_FILES var is empty
2011-01-14 22:25:10 -06:00
Robin Sommer
4714af9657 New Makefile wrapper in top-level directory.
This wrapper has a few standard target for convinience, mostly
forwarding them build/Makefile.

Also adding a .gitignore to let git skip the build/ directory.
2010-11-26 15:31:00 -08:00