>From 0b9cf3536b9a1bd5ee8be99175238af02d48588b Mon Sep 17 00:00:00 2001
From: Shawn Wells <[email protected]>
Date: Tue, 2 Apr 2013 01:01:11 -0400
Subject: [PATCH] [bugfix] Makefile remnants of table-profilenistrefs

The 'make tables' was still calling table-profilenistrefs, needed to be removed

BEFORE:
$ make all
cd RHEL6 && make
make[1]: Entering directory `/var/www/html/scap-security-guide/RHEL6'
xsltproc -o output/rhel6-shorthand.xml input/guide.xslt input/guide.xml
xmllint --format --output output/rhel6-shorthand.xml output/rhel6-shorthand.xml
xsltproc -o output/unlinked-noprofiles-rhel6-xccdf.xml 
transforms/shorthand2xccdf.xslt output/rhel6-shorthand.xml
xsltproc -stringparam profile "allprofiles" -o 
output/unlinked-rhel6-xccdf-prerefs.xml \
                transforms/xccdf-addprofiles.xslt 
output/unlinked-noprofiles-rhel6-xccdf.xml
xsltproc -stringparam profile "stig-rhel6-server" -o 
output/unlinked-rhel6-xccdf.xml \
                transforms/xccdf-addrefs.xslt 
output/unlinked-rhel6-xccdf-prerefs.xml
xsltproc -o output/unlinked-rhel6-ocil.xml transforms/xccdf-create-ocil.xslt 
output/unlinked-rhel6-xccdf.xml
xmllint --format --output output/unlinked-rhel6-ocil.xml 
output/unlinked-rhel6-ocil.xml
xsltproc -o output/unlinked-ocilrefs-rhel6-xccdf.xml 
transforms/xccdf-ocilcheck2ref.xslt output/unlinked-rhel6-xccdf.xml
./transforms/combinefixes.py input/fixes/bash/ output/bash-remediations.xml
xsltproc -stringparam fixes "../output/bash-remediations.xml" -o 
output/unlinked-rhel6-xccdf.xml transforms/xccdf-addfixes.xslt 
output/unlinked-rhel6-xccdf.xml
xmllint --format --output output/unlinked-rhel6-xccdf.xml 
output/unlinked-rhel6-xccdf.xml
xsltproc -stringparam ref "nist" -o output/table-rhel6-nistrefs.html 
transforms/xccdf2table-byref.xslt output/unlinked-rhel6-xccdf.xml
xsltproc -stringparam profile "common" -o 
output/table-rhel6-nistrefs-common.html \
                transforms/xccdf2table-profilenistrefs.xslt 
output/unlinked-rhel6-xccdf.xml
xsltproc -o output/table-rhel6-cces.html transforms/xccdf2table-cce.xslt 
output/unlinked-rhel6-xccdf.xml
make[1]: *** No rule to make target `table-profilenistrefs', needed by 
`tables'.  Stop.
make[1]: Leaving directory `/var/www/html/scap-security-guide/RHEL6'
make: *** [rhel6] Error 2

AFTER:
Works
---
 RHEL6/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/RHEL6/Makefile b/RHEL6/Makefile
index 607df66..8f5c5aa 100644
--- a/RHEL6/Makefile
+++ b/RHEL6/Makefile
@@ -83,7 +83,7 @@ table-stigs: shorthand2xccdf table-srgmap
        xsltproc --novalid --html -o $(OUT)/table-stig-rhel6-server-srgs.html 
$(TRANS)/table-add-srgitems.xslt $(OUT)/table-stig-rhel6-server.html
        xsltproc --html -o $(OUT)/table-stig-rhel6-server-flat.html 
$(TRANS)/table-add-vulnids.xslt $(OUT)/table-stig-rhel6-server-flat.html
 
-tables: table-refs table-idents table-profilenistrefs table-srgmap table-stigs
+tables: table-refs table-idents table-srgmap table-stigs
 
 alt-titles: shorthand2xccdf
        $(UTILS)/sync-alt-titles.py -p stig-rhel6-server -f 
$(IN)/auxiliary/alt-titles-stig.xml $(OUT)/unlinked-rhel6-xccdf.xml
-- 
1.7.1

_______________________________________________
scap-security-guide mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide

Reply via email to