-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (31 loc) · 906 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
SOURCES= \
software-with-qwan.xml
IMAGES= \
1.png \
2.png \
3.png \
4.png \
5.png
SOURCE_MAIN=software-with-qwan.xml
CSS=docbook.css
STYLESHEET=/usr/share/xml/docbook/stylesheet/nwalsh/current/xhtml/onechunk.xsl
#STYLESHEET=/usr/share/xml/docbook/stylesheet/nwalsh/html/onechunk.xsl
#STYLESHEET=/usr/share/sgml/docbook/xsl-stylesheets-1.65.1-2/xhtml/onechunk.xsl
#STYLESHEET=/usr/share/yelp/xslt/db2html.xsl
OUTPUTDIR=html
all: html.stamp
html.stamp: $(SOURCES) $(IMAGES)
mkdir -p $(OUTPUTDIR)
cp $(IMAGES) $(OUTPUTDIR)/
xsltproc -o $(OUTPUTDIR)/ --stringparam html.stylesheet $(CSS) $(STYLESHEET) \
$(SOURCE_MAIN)
cp $(CSS) $(OUTPUTDIR)/
touch html.stamp
#web: html.stamp
# rm -rf /home/federico/public_html/misc/novell/admin-tools
# cp -r html /home/federico/public_html/misc/novell/admin-tools
# update-web
clean:
rm -f html.stamp
rm -rf $(OUTPUTDIR)
rm -f *~