Changeset 411ceb8


Ignore:
Timestamp:
05/03/2004 08:19:11 PM (20 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
1759018, 32bc461, 356d486d, 9dfc02f
Parents:
efb32ca
Message:
  • Fixed problem when BASEDIR paths were given without a trailing '/'.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3441 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    refb32ca r411ceb8  
    1 BASEDIR=~/lfs-book/
     1BASEDIR=~/lfs-book
    22
    33lfs:
    4         xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR) \
     4        xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR)/ \
    55          stylesheets/lfs-chunked.xsl index.xml
    66
    7         if [ ! -e $(BASEDIR)stylesheets ]; then \
    8           mkdir -p $(BASEDIR)stylesheets; \
     7        if [ ! -e $(BASEDIR)/stylesheets ]; then \
     8          mkdir -p $(BASEDIR)/stylesheets; \
    99        fi;
    10         cp stylesheets/lfs.css $(BASEDIR)stylesheets
     10        cp stylesheets/lfs.css $(BASEDIR)/stylesheets
    1111
    12         if [ ! -e $(BASEDIR)images ]; then \
    13           mkdir -p $(BASEDIR)images; \
     12        if [ ! -e $(BASEDIR)/images ]; then \
     13          mkdir -p $(BASEDIR)/images; \
    1414        fi;
    1515        cp /usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/*.png \
    16           $(BASEDIR)images
    17         cd $(BASEDIR); sed -i -e "s@../stylesheets@stylesheets@" \
     16          $(BASEDIR)/images
     17        cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@" \
    1818          index.html part1.html part2.html part3.html longindex.html
    19         cd $(BASEDIR); sed -i -e "s@../images@images@g" \
     19        cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
    2020          index.html part1.html part2.html part3.html longindex.html
    2121
Note: See TracChangeset for help on using the changeset viewer.