summaryrefslogtreecommitdiffstats
path: root/doc/SystemTap_Beginners_Guide/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/SystemTap_Beginners_Guide/Makefile')
-rw-r--r--doc/SystemTap_Beginners_Guide/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/SystemTap_Beginners_Guide/Makefile b/doc/SystemTap_Beginners_Guide/Makefile
index 7cbd8b2e..32dc0d50 100644
--- a/doc/SystemTap_Beginners_Guide/Makefile
+++ b/doc/SystemTap_Beginners_Guide/Makefile
@@ -2,7 +2,8 @@
XML_LANG = en-US
-BRAND = RedHat
+BRAND = RedHat
+# please define the BRAND in the pre:: section below
#SHOW_REMARKS = 1
#OTHER_LANGS = as-IN bn-IN de-DE es-ES fr-FR gu-IN hi-IN it-IT ja-JP kn-IN ko-KR ml-IN mr-IN or-IN pa-IN pt-BR ru-RU si-LK ta-IN te-IN zh-CN zh-TW
@@ -12,3 +13,10 @@ CONDITION=$(BRAND)
COMMON_CONFIG = /usr/share/publican
include $(COMMON_CONFIG)/make/Makefile.common
+pre::
+ cp -a ../../testsuite en-US/extras/;
+
+post::
+ rm -rf en-US/extras/testsuite
+ sed -i -e 's/<productname>Fedora/<productname>Red Hat Enterprise Linux/g' en-US/Book_Info.xml;
+ sed -i -e 's/<productnumber>10/<productnumber>5/g' en-US/Book_Info.xml;