Changeset 338 in MondoRescue for branches/stable/documentation
- Timestamp:
- Jan 20, 2006, 12:58:59 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/documentation/Makefile
r331 r338 2 2 SRC=$(shell ls *.sgml) 3 3 DSL=$(TARGET).dsl 4 IMAGES=$(shell ls images/*.png | sed 's/\.png/.eps/g') 4 IMAGESDIR=images 5 IMAGES=$(shell ls ${IMAGESDIR}/*.png | sed 's/\.png/.eps/g') 5 6 6 7 all: $(TARGET).ps $(TARGET).pdf $(TARGET)/index.html $(TARGET).txt $(TARGET).html $(TARGET).rtf 7 8 8 images/%.eps: images/%.png9 ${IMAGESDIR}/%.eps: ${IMAGESDIR}/%.png 9 10 @echo "Converting $< to $@" 10 11 @convert $< $@ … … 52 53 @echo "" 53 54 @rm -fr $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt,rtf,html} $(TARGET) 55 56 install: 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.