Changeset 340 in MondoRescue for trunk/documentation/Makefile


Ignore:
Timestamp:
Jan 20, 2006, 1:11:02 AM (15 years ago)
Author:
bcornec
Message:

merge -r335:339 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/documentation/Makefile

    r331 r340  
     1#
     2# Makefile for mondorescue documentation build
     3#
     4# $Id$
     5#
    16TARGET=mondorescue-howto
    27SRC=$(shell ls *.sgml)
    38DSL=$(TARGET).dsl
    4 IMAGES=$(shell ls images/*.png | sed 's/\.png/.eps/g')
     9IMAGESDIR=images
     10IMAGES=$(shell ls ${IMAGESDIR}/*.png | sed 's/\.png/.eps/g')
    511
    612all: $(TARGET).ps $(TARGET).pdf $(TARGET)/index.html $(TARGET).txt $(TARGET).html $(TARGET).rtf
    713
    8 images/%.eps: images/%.png
     14${IMAGESDIR}/%.eps: ${IMAGESDIR}/%.png
    915    @echo "Converting $< to $@"
    1016    @convert $< $@
     
    5258    @echo ""
    5359    @rm -fr $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt,rtf,html} $(TARGET)
     60
     61install: all
     62    @echo ""
     63    @echo "Delivering mondorescue documentation"
     64    @echo ""
     65    @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.