Changeset 338 in MondoRescue for branches/stable/documentation/Makefile


Ignore:
Timestamp:
Jan 20, 2006, 12:58:59 AM (15 years ago)
Author:
bcornec
Message:

Documentation management:

  • old HTML doc suppressed from mondo tree
  • new doc generated on the fly during build of packages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/documentation/Makefile

    r331 r338  
    22SRC=$(shell ls *.sgml)
    33DSL=$(TARGET).dsl
    4 IMAGES=$(shell ls images/*.png | sed 's/\.png/.eps/g')
     4IMAGESDIR=images
     5IMAGES=$(shell ls ${IMAGESDIR}/*.png | sed 's/\.png/.eps/g')
    56
    67all: $(TARGET).ps $(TARGET).pdf $(TARGET)/index.html $(TARGET).txt $(TARGET).html $(TARGET).rtf
    78
    8 images/%.eps: images/%.png
     9${IMAGESDIR}/%.eps: ${IMAGESDIR}/%.png
    910    @echo "Converting $< to $@"
    1011    @convert $< $@
     
    5253    @echo ""
    5354    @rm -fr $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt,rtf,html} $(TARGET)
     55
     56install: all
     57    @echo ""
     58    @echo "Delivering mondorescue documentation"
     59    @echo ""
     60    @if [ "${INSTALLDIR}" != "" ]; then cp -a $(TARGET).{html,pdf,ps,txt,rtf} $(TARGET) ${INSTALLDIR} ; cp -a ${IMAGESDIR} ${INSTALLDIR}/$(TARGET) ; else echo "No INSTALLDIR specified aborting install"; fi
Note: See TracChangeset for help on using the changeset viewer.