Changeset 340 in MondoRescue for trunk/documentation/Makefile
- Timestamp:
- Jan 20, 2006, 1:11:02 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/documentation/Makefile
r331 r340 1 # 2 # Makefile for mondorescue documentation build 3 # 4 # $Id$ 5 # 1 6 TARGET=mondorescue-howto 2 7 SRC=$(shell ls *.sgml) 3 8 DSL=$(TARGET).dsl 4 IMAGES=$(shell ls images/*.png | sed 's/\.png/.eps/g') 9 IMAGESDIR=images 10 IMAGES=$(shell ls ${IMAGESDIR}/*.png | sed 's/\.png/.eps/g') 5 11 6 12 all: $(TARGET).ps $(TARGET).pdf $(TARGET)/index.html $(TARGET).txt $(TARGET).html $(TARGET).rtf 7 13 8 images/%.eps: images/%.png14 ${IMAGESDIR}/%.eps: ${IMAGESDIR}/%.png 9 15 @echo "Converting $< to $@" 10 16 @convert $< $@ … … 52 58 @echo "" 53 59 @rm -fr $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt,rtf,html} $(TARGET) 60 61 install: 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.