Changeset 338


Ignore:
Timestamp:
Jan 20, 2006, 12:58:59 AM (13 years ago)
Author:
bcornec
Message:

Documentation management:

  • old HTML doc suppressed from mondo tree
  • new doc generated on the fly during build of packages
Location:
branches/stable
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/documentation/Makefile

    r331 r338  
    22SRC=$(shell ls *.sgml)
    33DSL=$(TARGET).dsl
    4 IMAGES=$(shell ls images/*.png | sed 's/\.png/.eps/g')
     4IMAGESDIR=images
     5IMAGES=$(shell ls ${IMAGESDIR}/*.png | sed 's/\.png/.eps/g')
    56
    67all: $(TARGET).ps $(TARGET).pdf $(TARGET)/index.html $(TARGET).txt $(TARGET).html $(TARGET).rtf
    78
    8 images/%.eps: images/%.png
     9${IMAGESDIR}/%.eps: ${IMAGESDIR}/%.png
    910    @echo "Converting $< to $@"
    1011    @convert $< $@
     
    5253    @echo ""
    5354    @rm -fr $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt,rtf,html} $(TARGET)
     55
     56install: 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
  • branches/stable/mondo/configure.in

    r247 r338  
    173173AC_SUBST(my_kde_libraries)
    174174
    175 AC_OUTPUT([Makefile mondo/Makefile mondo/common/Makefile mondo/mondoarchive/Makefile mondo/mondorestore/Makefile mondo/docs/Makefile mondo/docs/en/Makefile mondo/docs/en/1.6x-howto/Makefile mondo/restore-scripts/Makefile mondo/restore-scripts/mondo/Makefile mondo/restore-scripts/usr/Makefile mondo/restore-scripts/usr/bin/Makefile mondo/xmondo/Makefile mondo/post-nuke.sample/Makefile mondo/post-nuke.sample/usr/Makefile mondo/post-nuke.sample/usr/bin/Makefile])
     175AC_OUTPUT([Makefile mondo/Makefile mondo/common/Makefile mondo/mondoarchive/Makefile mondo/mondorestore/Makefile mondo/docs/Makefile mondo/docs/en/Makefile mondo/restore-scripts/Makefile mondo/restore-scripts/mondo/Makefile mondo/restore-scripts/usr/Makefile mondo/restore-scripts/usr/bin/Makefile mondo/xmondo/Makefile mondo/post-nuke.sample/Makefile mondo/post-nuke.sample/usr/Makefile mondo/post-nuke.sample/usr/bin/Makefile])
  • branches/stable/mondo/distributions/common/mondo.spec

    r318 r338  
    131131%files
    132132%defattr(644,root,root,755)
    133 %doc ChangeLog svn.log mondo/docs/en/1.6x-howto/*
     133%doc ChangeLog svn.log mondo/docs/en/*
    134134%doc INSTALL COPYING README TODO AUTHORS NEWS
    135135
  • branches/stable/mondo/mondo/docs/en/Makefile.am

    r30 r338  
    1 SUBDIRS   = 1.6x-howto
     1SUBDIRS   = mondorescue-howto
  • branches/stable/tools/mkcommon

    r319 r338  
    2121    echo "Management of mindi-kernel ${MINDI_VER}-$REVISION"
    2222    rm -fr mindi-kernel-${MINDI_VER}
    23     cp -a ${VER}/mindi-kernel mindi-kernel-${MINDI_VER}
    24     find mindi-kernel-${MINDI_VER} -type d -name .svn | xargs rm -rf
    25     find mindi-kernel-${MINDI_VER} -type f -name '.*.swp' | xargs rm -rf
    26     find mindi-kernel-${MINDI_VER} -type f -name '*~' | xargs rm -rf
     23    svn export ${VER}/mindi-kernel mindi-kernel-${MINDI_VER}
     24    #cp -a ${VER}/mindi-kernel mindi-kernel-${MINDI_VER}
     25    #find mindi-kernel-${MINDI_VER} -type d -name .svn | xargs rm -rf
     26    #find mindi-kernel-${MINDI_VER} -type f -name '.*.swp' | xargs rm -rf
     27    #find mindi-kernel-${MINDI_VER} -type f -name '*~' | xargs rm -rf
    2728    mkdir -p ${TOPDIR}/SOURCES
    2829
     
    3536    echo "Management of mindi ${MINDI_VER}-$REVISION"
    3637    rm -fr mindi-${MINDI_VER}
    37     cp -a ${VER}/mindi mindi-${MINDI_VER}
     38    svn export ${VER}/mindi mindi-${MINDI_VER}
     39    #cp -a ${VER}/mindi mindi-${MINDI_VER}
    3840    cp -a /tmp/mondorescue-svn.log mindi-${MINDI_VER}/svn.log
    39     find mindi-${MINDI_VER} -type d -name .svn | xargs rm -rf
    40     find mindi-${MINDI_VER} -type f -name '.*.swp' | xargs rm -rf
    41     find mindi-${MINDI_VER} -type f -name '*~' | xargs rm -rf
    42     rm -f mindi-${MINDI_VER}/parted2fdisk mindi-${MINDI_VER}/parted2fdisk.c mindi-${MINDI_VER}/rootfs/sbin/parted2fdisk-ia64
     41    echo "$REVISION" > mindi-${MINDI_VER}/REVISION
     42    #find mindi-${MINDI_VER} -type d -name .svn | xargs rm -rf
     43    #find mindi-${MINDI_VER} -type f -name '.*.swp' | xargs rm -rf
     44    #find mindi-${MINDI_VER} -type f -name '*~' | xargs rm -rf
     45    rm -f mindi-${MINDI_VER}/rootfs/sbin/parted2fdisk-ia64
     46    #rm -f mindi-${MINDI_VER}/parted2fdisk mindi-${MINDI_VER}/parted2fdisk.c mindi-${MINDI_VER}/rootfs/sbin/parted2fdisk-ia64
    4347
    4448    echo "Creating mindi tar files"
     
    5155    echo "Management of mondo ${MONDO_VER}-$REVISION"
    5256    rm -rf mondo-${MONDO_VER}
    53     cp -a ${VER}/mondo mondo-${MONDO_VER}
     57    svn export ${VER}/mondo mondo-${MONDO_VER}
     58    #cp -a ${VER}/mondo mondo-${MONDO_VER}
    5459    cp -a /tmp/mondorescue-svn.log mondo-${MONDO_VER}/svn.log
    55     cd mondo-${MONDO_VER}
     60    echo "$REVISION" > mondo-${MONDO_VER}/REVISION
     61    svn export ${VER}/documentation documentation-${MONDO_VER}
     62    cd documentation-${MONDO_VER}
     63    make install INSTALLDIR=../mondo-${MONDO_VER}/mondo/docs/en
     64    cd ../mondo-${MONDO_VER}
    5665    echo "Bootstraping mondo ... "
    5766    ./bootstrap
    58     find . -type d -name .svn | xargs rm -rf
    59     find . -type f -name '.*.swp' | xargs rm -rf
    60     find . -type f -name '*~' | xargs rm -rf
     67    #find . -type d -name .svn | xargs rm -rf
     68    #find . -type f -name '.*.swp' | xargs rm -rf
     69    #find . -type f -name '*~' | xargs rm -rf
    6170    cd ..
    6271
Note: See TracChangeset for help on using the changeset viewer.