Newer
Older
XML / Makefile
  1. ################################################################################
  2. #
  3. # File: $Id$
  4. #
  5. # Makefile for building the INFO database courses XML formatting stylsheets.
  6. # (We really need a better name :)
  7. #
  8. ################################################################################
  9.  
  10.  
  11. SHELL=/bin/sh
  12.  
  13.  
  14. ################################################################################
  15. #
  16. # Include the XSLT processing functions. Note that we are assuming a fixed
  17. # path relative to the current directory!
  18. #
  19. include ../Handbook/make-includes/xslt_functions.make
  20.  
  21.  
  22. .PHONY: all clean
  23.  
  24.  
  25. all: xml2html.xsl xml2latex.xsl oracle-docs.xsl
  26.  
  27.  
  28. xml2html.xsl xml2latex.xsl: format-master.xml xml2xslt.xsl oracle-docs.xsl Makefile
  29. $(call xslt,$<,xml2xslt.xsl,$(call xslt_parameter,format,$(@:xml2%.xsl=%))) > $@
  30.  
  31.  
  32. oracle-docs.xsl: oracle-docs.perl
  33. perl $< '.*' xslt > $@
  34.  
  35.  
  36. clean:
  37. rm -f xml2html.xsl xml2latex.xsl oracle-docs.xsl