Changeset 401 in MondoRescue
- Timestamp:
- Feb 17, 2006, 3:37:04 PM (19 years ago)
- Location:
- branches/stable
- Files:
-
- 1 deleted
- 7 edited
- 4 copied
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/documentation/Makefile.howto
r399 r401 1 1 # 2 # Makefile for mondorescue documentation build2 # Makefile for mondorescue howto 3 3 # 4 4 # $Id$ … … 10 10 IMAGES=$(shell ls ${IMAGESDIR}/*.png | sed 's/\.png/.eps/g') 11 11 12 # 13 # Man pages handling 14 # 15 MRMPDIR=../mondo/mondo/mondorestore 16 MRMPNAM=mondorestore.8 17 MAMPDIR=../mondo/mondo/mondoarchive 18 MAMPNAM=mondoarchive.8 19 MIMPDIR=../mindi 20 MIMPNAM=mindi.8 21 22 all: all-howto all-man 23 24 all-howto: $(TARGET).ps $(TARGET).pdf $(TARGET)/index.html $(TARGET).txt $(TARGET).html $(TARGET).rtf 25 26 all-man: .all-man-html .all-man-pdf .all-man-txt 27 28 .all-man-html: $(MRMPNAM).html $(MAMPNAM).html $(MIMPNAM).html 29 @echo "" 30 @echo "Generating Man pages in HTML format" 31 @echo "-----------------------------------" 32 @touch .all-man-html 33 34 .all-man-pdf: $(MRMPNAM).pdf $(MAMPNAM).pdf $(MIMPNAM).pdf 35 @echo "" 36 @echo "Generating Man pages in PDF and PS format" 37 @echo "-----------------------------------------" 38 @touch .all-man-pdf 39 40 .all-man-txt: $(MRMPNAM).txt $(MAMPNAM).txt $(MIMPNAM).txt 41 @echo "" 42 @echo "Generating Man pages in TXT format" 43 @echo "----------------------------------" 44 @touch .all-man-txt 45 46 $(MRMPNAM).html: $(MRMPDIR)/$(MRMPNAM) 47 @man2html -r $< > $@ 48 49 $(MAMPNAM).html: $(MAMPDIR)/$(MAMPNAM) 50 @man2html -r $< > $@ 51 52 $(MIMPNAM).html: $(MIMPDIR)/$(MIMPNAM) 53 @man2html -r $< > $@ 54 55 $(MRMPNAM).ps: $(MRMPDIR)/$(MRMPNAM) 56 @man2dvi $< > $(MRMPNAM).dvi 57 @dvips $(MRMPNAM).dvi -o $@ 58 @rm -f $(MRMPNAM).dvi 59 60 $(MAMPNAM).ps: $(MAMPDIR)/$(MAMPNAM) 61 @man2dvi $< > $(MAMPNAM).dvi 62 @dvips $(MAMPNAM).dvi -o $@ 63 @rm -f $(MAMPNAM).dvi 64 65 $(MIMPNAM).ps: $(MIMPDIR)/$(MIMPNAM) 66 @man2dvi $< > $(MIMPNAM).dvi 67 @dvips $(MIMPNAM).dvi -o $@ 68 @rm -f $(MIMPNAM).dvi 69 70 $(MRMPNAM).pdf: $(MRMPNAM).ps 71 @ps2pdf $< 72 73 $(MAMPNAM).pdf: $(MAMPNAM).ps 74 @ps2pdf $< 75 76 $(MIMPNAM).pdf: $(MIMPNAM).ps 77 @ps2pdf $< 78 79 $(MRMPNAM).txt: $(MRMPDIR)/$(MRMPNAM) 80 @nroff -man $< > $@ 81 82 $(MAMPNAM).txt: $(MAMPDIR)/$(MAMPNAM) 83 @nroff -man $< > $@ 84 85 $(MIMPNAM).txt: $(MIMPDIR)/$(MIMPNAM) 86 @nroff -man $< > $@ 12 all: $(TARGET).ps $(TARGET).pdf $(TARGET)/index.html $(TARGET).txt $(TARGET).html $(TARGET).rtf 87 13 88 14 ${IMAGESDIR}/%.eps: ${IMAGESDIR}/%.png … … 129 55 clean: 130 56 @echo "" 131 @echo "Cleaning up the documentation directory "57 @echo "Cleaning up the documentation directory for the Howto" 132 58 @echo "" 133 59 @rm -fr $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt,rtf,html} $(TARGET) … … 135 61 install: all 136 62 @echo "" 137 @echo "Delivering mondorescue documentation"63 @echo "Delivering mondorescue howto" 138 64 @echo "" 139 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 -
branches/stable/documentation/Makefile.man
r399 r401 1 1 # 2 # Makefile for mondorescue documentation build2 # Makefile for mondorescue man pages 3 3 # 4 4 # $Id$ 5 5 # 6 TARGET=mondorescue-howto 7 SRC=$(shell ls *.sgml)8 DSL=$(TARGET).dsl 9 IMAGESDIR=images 10 IMAGES=$(shell ls ${IMAGESDIR}/*.png | sed 's/\.png/.eps/g')6 MANPAGES=$(shell ls *.8) 7 HTMLSET=$(shell echo ${MANPAGES} | sed 's~.8~.8.html~g') 8 PDFSET=$(shell echo ${MANPAGES} | sed 's~.8~.8.pdf~g') 9 PSSET=$(shell echo ${MANPAGES} | sed 's~.8~.8.ps~g') 10 TXTSET=$(shell echo ${MANPAGES} | sed 's~.8~.8.txt~g') 11 11 12 # 13 # Man pages handling 14 # 15 MRMPDIR=../mondo/mondo/mondorestore 16 MRMPNAM=mondorestore.8 17 MAMPDIR=../mondo/mondo/mondoarchive 18 MAMPNAM=mondoarchive.8 19 MIMPDIR=../mindi 20 MIMPNAM=mindi.8 21 22 all: all-howto all-man 23 24 all-howto: $(TARGET).ps $(TARGET).pdf $(TARGET)/index.html $(TARGET).txt $(TARGET).html $(TARGET).rtf 25 26 all-man: .all-man-html .all-man-pdf .all-man-txt 27 28 .all-man-html: $(MRMPNAM).html $(MAMPNAM).html $(MIMPNAM).html 12 .all-html: $(HTMLSET) 29 13 @echo "" 30 14 @echo "Generating Man pages in HTML format" 31 15 @echo "-----------------------------------" 32 @touch .all- man-html16 @touch .all-html 33 17 34 .all- man-pdf: $(MRMPNAM).pdf $(MAMPNAM).pdf $(MIMPNAM).pdf18 .all-pdf: $(PDFSET) 35 19 @echo "" 36 @echo "Generating Man pages in PDF and PSformat"20 @echo "Generating Man pages in PDF format" 37 21 @echo "-----------------------------------------" 38 @touch .all- man-pdf22 @touch .all-pdf 39 23 40 .all-man-txt: $(MRMPNAM).txt $(MAMPNAM).txt $(MIMPNAM).txt 24 .all-ps: $(PSSET) 25 @echo "" 26 @echo "Generating Man pages in PS format" 27 @echo "-----------------------------------------" 28 @touch .all-ps 29 30 .all-txt: $(TXTSET) 41 31 @echo "" 42 32 @echo "Generating Man pages in TXT format" 43 33 @echo "----------------------------------" 44 @touch .all- man-txt34 @touch .all-txt 45 35 46 $(MRMPNAM).html: $(MRMPDIR)/$(MRMPNAM) 36 %.8.html: %.8 47 37 @man2html -r $< > $@ 48 38 49 $(MAMPNAM).html: $(MAMPDIR)/$(MAMPNAM) 50 @man2html -r $< > $@ 39 %.8.ps: %.8 40 @man2dvi ./$< > $<.dvi 41 @dvips $<.dvi -o $@ 42 @rm -f $<.dvi 51 43 52 $(MIMPNAM).html: $(MIMPDIR)/$(MIMPNAM) 53 @man2html -r $< > $@ 54 55 $(MRMPNAM).ps: $(MRMPDIR)/$(MRMPNAM) 56 @man2dvi $< > $(MRMPNAM).dvi 57 @dvips $(MRMPNAM).dvi -o $@ 58 @rm -f $(MRMPNAM).dvi 59 60 $(MAMPNAM).ps: $(MAMPDIR)/$(MAMPNAM) 61 @man2dvi $< > $(MAMPNAM).dvi 62 @dvips $(MAMPNAM).dvi -o $@ 63 @rm -f $(MAMPNAM).dvi 64 65 $(MIMPNAM).ps: $(MIMPDIR)/$(MIMPNAM) 66 @man2dvi $< > $(MIMPNAM).dvi 67 @dvips $(MIMPNAM).dvi -o $@ 68 @rm -f $(MIMPNAM).dvi 69 70 $(MRMPNAM).pdf: $(MRMPNAM).ps 44 %.8.pdf: %.8.ps 71 45 @ps2pdf $< 72 46 73 $(MAMPNAM).pdf: $(MAMPNAM).ps 74 @ps2pdf $< 75 76 $(MIMPNAM).pdf: $(MIMPNAM).ps 77 @ps2pdf $< 78 79 $(MRMPNAM).txt: $(MRMPDIR)/$(MRMPNAM) 47 %.8.txt: %.8 80 48 @nroff -man $< > $@ 81 49 82 $(MAMPNAM).txt: $(MAMPDIR)/$(MAMPNAM) 83 @nroff -man $< > $@ 84 85 $(MIMPNAM).txt: $(MIMPDIR)/$(MIMPNAM) 86 @nroff -man $< > $@ 87 88 ${IMAGESDIR}/%.eps: ${IMAGESDIR}/%.png 89 @echo "Converting $< to $@" 90 @convert $< $@ 91 92 $(TARGET).txt: $(SRC) 93 @echo "" 94 @echo "Generating doc in TXT format" 95 @echo "----------------------------" 96 @docbook2txt $(TARGET).sgml 97 98 $(TARGET).ps: $(SRC) $(DSL) $(IMAGES) 99 @echo "" 100 @echo "Generating doc in PostScript format" 101 @echo "-----------------------------------" 102 @docbook2ps -d $(TARGET).dsl'#print' $(TARGET).sgml 103 104 $(TARGET)/index.html: $(SRC) $(DSL) $(IMAGES) 105 @echo "" 106 @echo "Generating all HTML pages" 107 @echo "-------------------------" 108 @rm -fr $(TARGET) 109 @docbook2html -d $(TARGET).dsl'#html' -o $(TARGET) $(TARGET).sgml 110 111 $(TARGET).html: $(SRC) $(DSL) $(IMAGES) 112 @echo "" 113 @echo "Generating doc in HTML format" 114 @echo "-----------------------------" 115 @docbook2html -u -d $(TARGET).dsl'#txt' $(TARGET).sgml 116 117 $(TARGET).pdf: $(SRC) $(DSL) $(IMAGES) 118 @echo "" 119 @echo "Generating doc in PDF format" 120 @echo "----------------------------" 121 @docbook2pdf -d $(TARGET).dsl'#pdf' $(TARGET).sgml 122 123 $(TARGET).rtf: $(SRC) $(DSL) $(IMAGES) 124 @echo "" 125 @echo "Generating doc in RTF format" 126 @echo "----------------------------" 127 @docbook2rtf -d $(TARGET).dsl'#print' $(TARGET).sgml 50 all: .all-html .all-pdf .all-ps .all-txt 128 51 129 52 clean: 130 53 @echo "" 131 @echo "Cleaning up the documentation directory "54 @echo "Cleaning up the documentation directory for man pages" 132 55 @echo "" 133 @rm -f r $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt,rtf,html} $(TARGET)56 @rm -f *.8.{dvi,pdf,ps,txt,html} 134 57 135 install : all58 install-mindi: all 136 59 @echo "" 137 @echo "Delivering m ondorescue documentation"60 @echo "Delivering mindi man page" 138 61 @echo "" 139 @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 62 @if [ "${INSTALLDIR}" != "" ]; then mkdir -p ${INSTALLDIR} ; cp -a mindi.8.{html,pdf,ps,txt} mindi.8 ${INSTALLDIR} ; else echo "No INSTALLDIR specified aborting install"; fi 63 64 install-mondo: all 65 @echo "" 66 @echo "Delivering mondo man pages" 67 @echo "" 68 @if [ "${INSTALLDIR}" != "" ]; then mkdir -p ${INSTALLDIR} ; cp -a mondo*.8.{html,pdf,ps,txt} mondo*.8 ${INSTALLDIR} ; else echo "No INSTALLDIR specified aborting install"; fi -
branches/stable/mindi/distributions/rpm/mindi.spec
r388 r401 37 37 verify packages, etc. 38 38 39 %debug_package 39 40 %prep 40 41 %{__rm} -rf $RPM_BUILD_ROOT … … 79 80 80 81 %changelog 82 * Fri Feb 16 2006 Bruno Cornec <bcornec@users.berlios.de> 1.0.7 83 - Updated to 1.0.7 84 - RPMS spec are now generated instead of using '%' variables 85 81 86 * Fri Nov 05 2005 Bruno Cornec <bcornec@users.berlios.de> 1.05 82 87 - ia64 is now working -
branches/stable/mindi/distributions/suse/spec.m4
r388 r401 4 4 define(`SSS', %{name}-%{version}.tgz)dnl 5 5 dnl DDD is replaced by the list of dependencies specific to that distro 6 define(`DDD', %{addreqb} )dnl6 define(`DDD', %{addreqb}, syslinux)dnl 7 7 dnl GRP is replaced by the RPM group of apps 8 define(`GRP', Archiving/Backup)dnl8 define(`GRP', Productivity/Archiving/Backup)dnl -
branches/stable/mindi/mindi
r383 r401 16 16 export ARCH=`/bin/arch` 17 17 18 ADDITIONAL_BOOT_PARAMS="acpi=off apm=off devfs=nomount exec-shield=0 "18 ADDITIONAL_BOOT_PARAMS="acpi=off apm=off devfs=nomount exec-shield=0 noresume selinux=0 barrier=off" 19 19 20 20 RUN_AFTER_INITIAL_BOOT_PHASE="echo \"Who lives in a pineapple under the sea?\" > /tmp/spongebob.squarepants.txt" -
branches/stable/mondo/distributions/rpm/mondo.spec
r395 r401 33 33 %endif 34 34 35 #%package xmondo36 #Summary: A QT based graphical front end for %{name}37 #Group: Applications/Archiving38 #Requires: %{name} = %{version}-${release}, qt, kdelibs39 #40 #%package %{name}-devel41 #Summary: Header files for building against Mondo42 #%if %is_mandrake43 #Group: Development/Libraries44 #%endif45 #if %is_redhat46 #Group: Development/Other47 #%endif48 #Provides: libmondo-devel mondo-devel49 #Obsoletes: libmondo-devel50 #51 #%description -n %{name}-devel52 #Mondo libraries and includes53 54 35 %description 55 36 Mondo is a GPL disaster recovery solution to create backup media (CD, DVD, tape, network images) that can be used to redeploy the damaged system, as well as deploy similar or less similar systems. … … 75 56 con cintas y NFS, tambien. 76 57 77 #%description xmondo 78 #Xmondo is a QT based graphical frontend to mondoarchive. It can help you 79 #set up a backup by following onscreen prompts. 80 58 %debug_package 81 59 %prep 82 60 %setup -q -n %name-%{version} -
branches/stable/mondo/distributions/suse/spec.m4
r388 r401 4 4 define(`SSS', %{name}-%{version}.tgz)dnl 5 5 dnl DDD is replaced by the list of dependencies specific to that distro 6 define(`DDD', %{addreqb} )dnl6 define(`DDD', %{addreqb}, buffer, cdrecord)dnl 7 7 dnl GRP is replaced by the RPM group of apps 8 define(`GRP', Archiving/Backup)dnl8 define(`GRP', Productivity/Archiving/Backup)dnl -
branches/stable/tools/livwww
r400 r401 9 9 # 10 10 LOCALDIR=/var/www/html/mondo 11 LOCALDOC=/var/www/html/mondo-doc 11 12 DESTUSER=apache 12 13 MONDODIR=/mondo/www/html/mondo 13 14 TESTDIR=/mondo/www/html/test 15 16 force=0 17 18 if [ "$1" = "-f" ]; then 19 force=1 20 shift 21 fi 14 22 15 23 /sbin/ifconfig | grep -q 10.3 2>&1 > /dev/null … … 30 38 . $TOOLHOME/common-env 31 39 40 cd ${BASE}/svn 41 32 42 rm -rf $LOCALDIR 33 cp -a ${BASE}/svn/${VER}/website $LOCALDIR 34 (cd ${BASE}/svn/${VER}/documentation ; make) 35 mkdir -p $LOCALDIR/docs 36 cp -a ${BASE}/svn/${VER}/documentation/* $LOCALDIR/docs 43 svn export ${VER}/website $LOCALDIR 44 45 rm -rf $LOCALDOC 46 svn export ${VER}/documentation $LOCALDOC 47 cd $LOCALDOC 48 make -f Makefile.howto 49 make -f Makefile.man 50 mv $LOCALDOC $LOCALDIR/docs 37 51 # 38 52 # Man pages corrections … … 41 55 perl -pi -e 's~<A HREF[=./A-z0-9"]*/man1/[^<]*>([A-z0-9]*)</A>~$1~g' $LOCALDIR/docs/*.8.html 42 56 perl -pi -e 's~/index.html~/index.shtml~' $LOCALDIR/docs/*.8.html 57 # 58 # Version handling 59 # 60 perl -pi -e "s~VVV-rRRR~${VER}-r${REVISION}~g" $LOCALDIR/head.shtml 61 43 62 find $LOCALDIR -type d | xargs chmod 755 44 63 find $LOCALDIR -type f | xargs chmod 644 -
branches/stable/tools/mkcommon
r388 r401 52 52 svn export ${VER}/documentation documentation-${MONDO_VER} 53 53 cd documentation-${MONDO_VER} 54 make install INSTALLDIR=../mondo-${MONDO_VER}/mondo/docs/en 54 make -f Makefile.howto install INSTALLDIR=../mondo-${MONDO_VER}/mondo/docs/en 55 make -f Makefile.man install-mindi INSTALLDIR=../mindi-${MINDI_VER} 56 make -f Makefile.man install-mondo INSTALLDIR=../mondo-${MONDO_VER}/docs/man 55 57 if [ $? != 0 ]; then 56 58 exit -1
Note:
See TracChangeset
for help on using the changeset viewer.