Compile from %build section

Was doing the compilation indirectly from install rules without
using parallel build options.

[packaging] Compile from %build section
Fix doxygen execution dependencies
Deal with compiler warnings

Mostly unused parameters in callback functions and
comparing signed vs unsigned numbers.
Add "general" profile to inheritance path

Originally profile values were searched from "override", requested
profile and then finally from "fallback". After the change profiled
will check "general" profile before "fallback".

Effectively values in all profiles (unless explicitly set) will
mirror changes made to "general" profile.

[profiled] Add "general" profile to inheritance path
Use "make %{_smp_mflags}", not "make %{?jobs:-j%jobs}"
Merge pull request #1 from spiiroin/inherit_from_general

Other profiles inherit changes made to general profile