Changeset 331 in MondoRescue for branches/2.06/documentation/Makefile
- Timestamp:
- Jan 17, 2006, 7:45:09 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.06/documentation/Makefile
r330 r331 2 2 SRC=$(shell ls *.sgml) 3 3 DSL=$(TARGET).dsl 4 IMAGES=$(shell ls images/*.png )4 IMAGES=$(shell ls images/*.png | sed 's/\.png/.eps/g') 5 5 6 6 all: $(TARGET).ps $(TARGET).pdf $(TARGET)/index.html $(TARGET).txt $(TARGET).html $(TARGET).rtf 7 8 images/%.eps: images/%.png 9 @echo "Converting $< to $@" 10 @convert $< $@ 7 11 8 12 $(TARGET).txt: $(SRC) 9 docbook2txt $(TARGET).sgml 13 @echo "" 14 @echo "Generating doc in TXT format" 15 @echo "----------------------------" 16 @docbook2txt $(TARGET).sgml 10 17 11 18 $(TARGET).ps: $(SRC) $(DSL) $(IMAGES) 12 #docbook2ps -d $(TARGET).dsl'#print' -o $(TARGET).ps $(TARGET).sgml 13 docbook2ps $(TARGET).sgml 14 hugelatex -fmt=jadetex -mltex $(TARGET).tex 15 hugelatex -fmt=jadetex -mltex $(TARGET).tex 16 hugelatex -fmt=jadetex -mltex $(TARGET).tex 17 dvips $(TARGET).dvi -o $(TARGET).ps 19 @echo "" 20 @echo "Generating doc in PostScript format" 21 @echo "-----------------------------------" 22 @docbook2ps -d $(TARGET).dsl'#print' $(TARGET).sgml 18 23 19 24 $(TARGET)/index.html: $(SRC) $(DSL) $(IMAGES) 20 rm -f $(TARGET) 21 docbook2html -d $(TARGET).dsl'#html' -o $(TARGET) $(TARGET).sgml 25 @echo "" 26 @echo "Generating all HTML pages" 27 @echo "-------------------------" 28 @rm -fr $(TARGET) 29 @docbook2html -d $(TARGET).dsl'#html' -o $(TARGET) $(TARGET).sgml 22 30 23 31 $(TARGET).html: $(SRC) $(DSL) $(IMAGES) 24 docbook2html -u -d $(TARGET).dsl'#txt' $(TARGET).sgml 32 @echo "" 33 @echo "Generating doc in HTML format" 34 @echo "-----------------------------" 35 @docbook2html -u -d $(TARGET).dsl'#txt' $(TARGET).sgml 25 36 26 37 $(TARGET).pdf: $(SRC) $(DSL) $(IMAGES) 27 docbook2pdf -d $(TARGET).dsl'#pdf' $(TARGET).sgml 28 pdflatex -fmt=jadetex -mltex $(TARGET).tex 29 pdflatex -fmt=jadetex -mltex $(TARGET).tex 30 pdflatex -fmt=jadetex -mltex $(TARGET).tex 31 dvips $(TARGET).dvi -o $(TARGET).pdf 38 @echo "" 39 @echo "Generating doc in PDF format" 40 @echo "----------------------------" 41 @docbook2pdf -d $(TARGET).dsl'#pdf' $(TARGET).sgml 32 42 33 43 $(TARGET).rtf: $(SRC) $(DSL) $(IMAGES) 34 docbook2rtf -d $(TARGET).dsl'#pdf' $(TARGET).sgml 44 @echo "" 45 @echo "Generating doc in RTF format" 46 @echo "----------------------------" 47 @docbook2rtf -d $(TARGET).dsl'#print' $(TARGET).sgml 35 48 36 49 clean: 37 rm -fr $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt,rtf} $(TARGET) 50 @echo "" 51 @echo "Cleaning up the documentation directory" 52 @echo "" 53 @rm -fr $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt,rtf,html} $(TARGET)
Note:
See TracChangeset
for help on using the changeset viewer.