From 9f2f89e627fc7721ee66a7298819819590c0000d Mon Sep 17 00:00:00 2001
From: dpgilbert <dpgilbert@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Thu, 16 Nov 2006 02:21:59 +0000
Subject: [PATCH] add rule to build badblockhowto.html from docbook xml

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2332 4ea69e1a-61f1-4043-bf83-b5c94c648137
---
 www/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/www/Makefile b/www/Makefile
index 7af3daaef..485f57372 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1,15 +1,22 @@
 # Manufactures HTML file from XML file. Note: do NOT edit the HTML
 # file, only the XML file.
 
-all: smartmontools_scsi.html
+all: smartmontools_scsi.html badblockhowto.html
 
 smartmontools_scsi.html: smartmontools_scsi.xml 
 	xmlto html-nochunks smartmontools_scsi.xml
 
+badblockhowto.html: badblockhowto.xml 
+	xmlto html-nochunks badblockhowto.xml
+
 upload: smartmontools_scsi.html index.html
 	scp smartmontools_scsi.html ballen4705@smartmontools.sourceforge.net:/home/groups/s/sm/smartmontools/htdocs
+	scp badblockhowto.html ballen4705@smartmontools.sourceforge.net:/home/groups/s/sm/smartmontools/htdocs
 	scp 3w-xxxx.txt ballen4705@smartmontools.sourceforge.net:/home/groups/s/sm/smartmontools/htdocs
 	scp index.html ballen4705@smartmontools.sourceforge.net:/home/groups/s/sm/smartmontools/htdocs
 	scp examples/*.html ballen4705@smartmontools.sourceforge.net:/home/groups/s/sm/smartmontools/htdocs/examples
 	scp examples/*.txt ballen4705@smartmontools.sourceforge.net:/home/groups/s/sm/smartmontools/htdocs/examples
 	scp BadBlockHowTo.txt ballen4705@smartmontools.sourceforge.net:/home/groups/s/sm/smartmontools/htdocs
+
+clean:
+	rm smartmontools_scsi.html badblockhowto.html
-- 
GitLab