fix doxygen setup and automate generation

rakefile for some common tasks and doxygen needs
to look in the new place for headers
This commit is contained in:
Scott Chacon 2010-12-08 10:10:48 -08:00
parent 4eec2c0d4a
commit 635cacc6eb
2 changed files with 22 additions and 1 deletions

21
Rakefile Normal file
View File

@ -0,0 +1,21 @@
desc "Build and Run Tests"
task :build do
`./waf clean`
`./waf clean-tests`
`./waf configure`
`./waf build`
`./waf test`
end
desc "Build docs"
task :docs do
puts "Generating Doxygen docs"
`doxygen api.doxygen`
`git stash`
`git checkout gh-pages`
`cp -Rf apidocs/html/* .`
`git add .`
`git commit -am 'generated docs'`
`git push origin gh-pages`
`git checkout master`
end

View File

@ -1,6 +1,6 @@
PROJECT_NAME = libgit2
INPUT = src/git
INPUT = src/git2
QUIET = YES
RECURSIVE = YES
FILE_PATTERNS = *.h