From 53ade4da49f02bedf5c0e7e0b82d961b3e78cb4d Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 1 Jan 2010 20:47:26 +0100 Subject: Add SystemTap_Beginners_Guide to build. * configure.ac: Add --enable-publican and --with-publican-brand. Setup "shadow" directory doc/beginners. * Makefile.in: Regenerated. * configure: Regenerated. * doc/Makefile.am (SUBDIRS): Add beginners. * doc/Makefile.in: Regenerated. * doc/SystemTap_Beginners_Guide/en-US/Book_Info.xml (productname): Set to Systemtap. (productnumber): Set to 1.0. * SystemTap_Beginners_Guide/en-US/*.xml: Replace includes from extras/testsuite to ../testsuite, * doc/SystemTap_Beginners_Guide/publican.cfg: Moved to ... * doc/SystemTap_Beginners_Guide/publican.cfg.in: ... here. * doc/SystemTap_Beginners_Guide/Makefile: Removed. * doc/SystemTap_Beginners_Guide/old-syncandbuild.sh: Removed. * doc/SystemTap_Beginners_Guide/syncandbuild.sh: Removed. * doc/SystemTap_Tapset_Reference/Makefile.in: Regenerated. * doc/beginners/Makefile.am: New makefile. * doc/beginners/Makefile.in: New generated file. * grapher/Makefile.in: Regenerated. * systemtap.spec: Add with_publican and publican_brand. --- doc/SystemTap_Beginners_Guide/syncandbuild.sh | 38 --------------------------- 1 file changed, 38 deletions(-) delete mode 100755 doc/SystemTap_Beginners_Guide/syncandbuild.sh (limited to 'doc/SystemTap_Beginners_Guide/syncandbuild.sh') diff --git a/doc/SystemTap_Beginners_Guide/syncandbuild.sh b/doc/SystemTap_Beginners_Guide/syncandbuild.sh deleted file mode 100755 index 00084985..00000000 --- a/doc/SystemTap_Beginners_Guide/syncandbuild.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -# Instead of running the original makefile to build the document, run this script instead -echo -n "Please specify your build target (e.g. html, pdf, or html-single) " -read TARG -echo -n "Please specify the product you are building for (enter 1 for Fedora, 2 for RHEL) " -read PROD -#echo -n "Please specify any build parameters you'd like to use (skip this step for none). " -#read PARM -#copy scripts from testsuite -cp -a ../../testsuite en-US/extras/; - -if [ $PROD = 1 ]; -then - sed -i -e 's/Red Hat Enterprise Linux/Fedora/g' en-US/Book_Info.xml; - sed -i -e 's/5.4/10/g' en-US/Book_Info.xml; - sed -i -e 's/brand: RedHat/brand: fedora/g' publican.cfg; - sed -i -e 's/condition: RedHat/condition: fedora/g' publican.cfg; - publican build --formats=$TARG --langs=en-US; -# rm -rf en-US/extras/testsuite - sed -i -e 's/Fedora/Red Hat Enterprise Linux/g' en-US/Book_Info.xml; - sed -i -e 's/10/5.4/g' en-US/Book_Info.xml; - - -else -sed -i -e 's/brand: fedora/brand: RedHat/g' publican.cfg; -sed -i -e 's/brand: fedora/brand: RedHat/g' publican.cfg; -#make post $PARM $TARG-en-US -publican build --formats=$TARG --langs=en-US; -#rm -rf en-US/extras/testsuite -sed -i -e 's/Fedora/Red Hat Enterprise Linux/g' en-US/Book_Info.xml; -sed -i -e 's/10/5.4/g' en-US/Book_Info.xml; - -fi - -echo "done." -echo "Cleaning sync'd files..." -rm -rf en-US/extras/testsuite ; -echo "...done." \ No newline at end of file -- cgit