转自:http://blog.csdn.net/thinkhy/article/details/5343739
# For XSLT
PARSE = xsltproc
SRC = main.xml
STYLESHEET = makepaper.xsl
OUTPUT = output.html
# 参数键值对
PARAMS = propertyFile Property_1.XML
all : $(SRC) $(STYLESHEET)
$(PARSE) --stringparam $(PARAMS) $(STYLESHEET) $(SRC) > $(OUTPUT)
clean:
del $(OUTPUT)