Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Skip building Doxygen docs if .nodocs is present
  • Loading branch information
Bernd Wachter committed Sep 18, 2014
1 parent 807f402 commit e4678e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -9,3 +9,4 @@ doc/latex
/ssud/ssuadaptor.h
/rndssucli/ssuproxy.cpp
/rndssucli/ssuproxy.h
/.nodocs
6 changes: 5 additions & 1 deletion rpm/ssu.spec
Expand Up @@ -141,7 +141,11 @@ Group: Documentation
mkdir -p build && cd build
%qmake5 DEFINES+='TARGET_ARCH=\\\"\"%{_target_cpu}\"\\\"' -recursive ..
make %{?_smp_mflags}
cd .. && doxygen doc/Doxyfile
if [ -f ../.nodocs ]; then
echo "Skip building documentation"
else
cd .. && doxygen doc/Doxyfile
fi


%install
Expand Down

0 comments on commit e4678e9

Please sign in to comment.