OpenSCAP/scap-security-guide — pull request #295 by iankko (2014-10-08 17:17:10+00:00)
Title: [bugfix] [RHEL/7, Fedora] Specify particular profile names rules of which should be displayed in the generated HTML guide

OpenSCAP v1.1.1 with its new way of HTML report & HTML guide changed previous way how HTML guide is generated. Previously when specifying non-existing profile, it would list all rules (rules from all profiles) in the final guide. Now it's necessary:
[1] https://www.redhat.com/archives/open-scap-list/2014-September/msg00032.html

to specify concrete profile name, rules of which should be displayed in the HTML guide (otherwise generated guide will contain just group sections, without rules).

Therefore use 'rht-ccp' as profile name for RHEL-7 & 'common' for Fedora products.
RHEL-6 Makefile doesn't require a change, since it's still using openscap-v1.0.8 (thus the old way for generation of HTML report & guide => nothing changed here).

Tested on both of RHEL-7 & Fedora & works fine for me [*].

Please review.

Thanks, Jan.

[*] A careful reader might notice in the newly generated guide that there are improperly rendered sections like: ```$ sudo systemctl enable / disable ...```.
This will need fixing yet (planning to look tomorrow at that issue).