Changeset 3640 in MondoRescue for branches


Ignore:
Timestamp:
Dec 23, 2016, 6:40:23 PM (7 years ago)
Author:
Bruno Cornec
Message:

fix mondo-doc build for deb based distros where dash is the default shell which doesn't support braces processing !!

Location:
branches/3.3/mondo-doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo-doc/Makefile.howto

    r3140 r3640  
    5757    @echo "Cleaning up the documentation directory for the Howto"
    5858    @echo ""
    59     @rm -fr $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt,rtf,html} $(TARGET)
     59    @bash -c "rm -fr $(TARGET).{aux,log,out,tex,dvi,pdf,ps,txt,rtf,html} $(TARGET)"
    6060
    6161install: all
     
    6363    @echo "Delivering mondorescue howto"
    6464    @echo ""
    65     @if [ "${INSTALLDIR}" != "" ]; then mkdir -p ${INSTALLDIR} ; cp -a $(TARGET).{html,pdf,ps,txt,rtf} $(TARGET) ${INSTALLDIR} ; cp -a ${IMAGESDIR} ${INSTALLDIR}/$(TARGET) ; else echo "No INSTALLDIR specified aborting install"; fi
     65    @if [ "${INSTALLDIR}" != "" ]; then mkdir -p ${INSTALLDIR} ; bash -c "cp -a $(TARGET).{html,pdf,ps,txt,rtf} $(TARGET) ${INSTALLDIR}" ; cp -a ${IMAGESDIR} ${INSTALLDIR}/$(TARGET) ; else echo "No INSTALLDIR specified aborting install"; fi
  • branches/3.3/mondo-doc/Makefile.man

    r919 r3640  
    5252    @echo "Cleaning up the documentation directory for man pages"
    5353    @echo ""
    54     @rm -f *.8.{dvi,pdf,ps,txt,html}
     54    @bash -c "rm -f *.8.{dvi,pdf,ps,txt,html}"
    5555
    5656install: install-mindi install-mondo
     
    6060    @echo "Delivering mindi man page"
    6161    @echo ""
    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
     62    @if [ "${INSTALLDIR}" != "" ]; then mkdir -p ${INSTALLDIR} ; bash -c "cp -a mindi.8.{html,pdf,ps,txt} mindi.8 ${INSTALLDIR}" ; else echo "No INSTALLDIR specified aborting install"; fi
    6363
    6464install-mondo: all
     
    6666    @echo "Delivering mondo man pages"
    6767    @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
     68    @if [ "${INSTALLDIR}" != "" ]; then mkdir -p ${INSTALLDIR} ; bash -c "cp -a mondo*.8.{html,pdf,ps,txt} mondo*.8 ${INSTALLDIR}" ; else echo "No INSTALLDIR specified aborting install"; fi
Note: See TracChangeset for help on using the changeset viewer.