Changeset 8558


Ignore:
Timestamp:
Feb 22, 2008, 4:06:22 AM (12 years ago)
Author:
gb
Message:

tweak makefiles a little

Location:
trunk/source/doc/src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/doc/src/Makefile.fedora

    r8557 r8558  
    6767all: $(TEMP) $(HTMLFILES) distclean
    6868
    69 %.html:%.xml $(XSLFILES) Makefile.fedora
    70         $(XSLTPROC) \
    71                 --stringparam root.filename $(basename $(@F)) \
    72                 --stringparam base.dir $(TEMP)/ \
    73                 --stringparam openmcl.directory $(@D)/ \
    74                 --stringparam onechunk \
    75                         $(if $(findstring Doc, $(@D)), 0, 1) \
    76                 --stringparam xsltproc.version "$(XSLTPROCVERSION)." \
    77                 $(EXTRAPARAMS) \
    78                 $(STYLESHEET) $<
    79         rm -f $(if $(findstring Doc, $(@D)), $(@D)/*.html, $@)
    80         mv $(TEMP)/*.html $(@D)/
     69include makehtml
     70
     71install: $(HTMLFILES)
     72        cp $(HTMLFILES) ../HTML
    8173
    8274$(TEMP):
  • trunk/source/doc/src/Makefile.macports

    r8557 r8558  
    6767all: $(TEMP) $(HTMLFILES) distclean
    6868
    69 %.html:%.xml $(XSLFILES) Makefile
    70         $(XSLTPROC) \
    71                 --stringparam root.filename $(basename $(@F)) \
    72                 --stringparam base.dir $(TEMP)/ \
    73                 --stringparam openmcl.directory $(@D)/ \
    74                 --stringparam onechunk \
    75                         $(if $(findstring Doc, $(@D)), 0, 1) \
    76                 --stringparam xsltproc.version "$(XSLTPROCVERSION)." \
    77                 $(EXTRAPARAMS) \
    78                 $(STYLESHEET) $<
    79         rm -f $(if $(findstring Doc, $(@D)), $(@D)/*.html, $@)
    80         mv $(TEMP)/*.html $(@D)/
    81         rm -rf $(TEMP)
     69include makehtml
     70
     71install: $(HTMLFILES)
     72        cp $(HTMLFILES) ../HTML
    8273
    8374$(TEMP):
Note: See TracChangeset for help on using the changeset viewer.