1 |
# this Makefile creates sql scripts for different databases |
# this Makefile creates sql scripts for different databases |
2 |
# at the moment it requires the sablotron XSLT processor |
# at the moment it requires the sablotron XSLT processor |
3 |
xsltcmd = sabcmd |
xsltcmd = sabcmd |
4 |
|
#xsltcmd = xsltproc |
5 |
xslpath = ../../gnue-common/utils/xml2sql/ |
xslpath = ../../gnue-common/utils/xml2sql/ |
6 |
xslstrip = ${xslpath}strip.command.xsl |
xslstrip = ${xslpath}strip.command.xsl |
7 |
src1 = base.gsd |
src1 = base.gsd |
51 |
|
|
52 |
html: ${xslpath}display.xsl ${src1} ${src2} ${src3} |
html: ${xslpath}display.xsl ${src1} ${src2} ${src3} |
53 |
mkdir -p html |
mkdir -p html |
54 |
${xsltcmd} ${xslpath}display.xsl ${src1} html/${out1}.html |
${xsltcmd} ${xslpath}display.xsl ${src1} > html/${out1}.html |
55 |
${xsltcmd} ${xslpath}display.xsl ${src2} html/${out2}.html |
${xsltcmd} ${xslpath}display.xsl ${src2} > html/${out2}.html |
56 |
${xsltcmd} ${xslpath}display.xsl ${src3} html/${out3}.html |
${xsltcmd} ${xslpath}display.xsl ${src3} > html/${out3}.html |
57 |
ln -f ${xslpath}no.png html |
ln -f ${xslpath}no.png html |
58 |
ln -f ${xslpath}yes.png html |
ln -f ${xslpath}yes.png html |
59 |
|
ln -f ${xslpath}key.png html |
60 |
|
|
61 |
clean: |
clean: |
62 |
rm -rf *.sql mysql pgsql mssql sybase interbase html |
rm -rf *.sql mysql pgsql mssql sybase interbase html |