Commit e4678e90 authored by Aard's avatar Aard

Skip building Doxygen docs if .nodocs is present

parent 807f4027
...@@ -9,3 +9,4 @@ doc/latex ...@@ -9,3 +9,4 @@ doc/latex
/ssud/ssuadaptor.h /ssud/ssuadaptor.h
/rndssucli/ssuproxy.cpp /rndssucli/ssuproxy.cpp
/rndssucli/ssuproxy.h /rndssucli/ssuproxy.h
/.nodocs
...@@ -141,7 +141,11 @@ Group: Documentation ...@@ -141,7 +141,11 @@ Group: Documentation
mkdir -p build && cd build mkdir -p build && cd build
%qmake5 DEFINES+='TARGET_ARCH=\\\"\"%{_target_cpu}\"\\\"' -recursive .. %qmake5 DEFINES+='TARGET_ARCH=\\\"\"%{_target_cpu}\"\\\"' -recursive ..
make %{?_smp_mflags} make %{?_smp_mflags}
cd .. && doxygen doc/Doxyfile if [ -f ../.nodocs ]; then
echo "Skip building documentation"
else
cd .. && doxygen doc/Doxyfile
fi
%install %install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment