Changeset 00cc7ce
- Timestamp:
- 08/31/2004 09:42:58 PM (20 years ago)
- Branches:
- 6.0
- Children:
- 7f49e10
- Parents:
- 3be2393
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r3be2393 r00cc7ce 1 BASEDIR=~/lfs-book 2 CHUNK_QUIET=0 3 PDF_OUTPUT=LFS-BOOK.pdf 4 NOCHUNKS_OUTPUT=LFS-BOOK.html 5 XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current 1 BASEDIR=/home/macana/tmp/test-book-LFS/ 6 2 7 3 lfs: 8 xsltproc --xinclude --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \ 9 -stringparam base.dir $(BASEDIR)/ stylesheets/lfs-chunked.xsl \ 10 index.xml 4 xsltproc --xinclude --nonet --stringparam base.dir $(BASEDIR) \ 5 stylesheets/lfs-chunked.xsl index.xml 11 6 12 if [ ! -e $(BASEDIR)/stylesheets ]; then \ 13 mkdir -p $(BASEDIR)/stylesheets; \ 14 fi; 15 cp stylesheets/*.css $(BASEDIR)/stylesheets 7 mkdir -p $(BASEDIR)stylesheets && \ 8 cp stylesheets/*.css $(BASEDIR)stylesheets 16 9 17 if [ ! -e $(BASEDIR)/images ]; then \ 18 mkdir -p $(BASEDIR)/images; \ 19 fi; 20 cp $(XSLROOTDIR)/images/*.png \ 21 $(BASEDIR)/images 22 cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" \ 10 mkdir -p $(BASEDIR)images && \ 11 cp /usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/*.png \ 12 $(BASEDIR)images 13 14 cd $(BASEDIR); sed -i -e "s@../stylesheets@stylesheets@g" \ 23 15 *.html 24 cd $(BASEDIR) /; sed -i -e "s@../images@images@g" \16 cd $(BASEDIR); sed -i -e "s@../images@images@g" \ 25 17 *.html 26 18 27 sh goTidy $(BASEDIR)/ 28 29 # 30 # This is the old "pdf" target. The old "print" target below has been 31 # renamed to "pdf" and will be used. This commented out previous_pdf 32 # target can be removed eventually. It'll remain here for a bit for 33 # historical reasons 34 # 35 #previous_pdf: 36 # xsltproc --xinclude --nonet --output $(BASEDIR)/lfs.fo stylesheets/lfs-pdf.xsl \ 37 # index.xml 38 # sed -i -e "s/inherit/all/" $(BASEDIR)/lfs.fo 39 # fop.sh $(BASEDIR)/lfs.fo $(BASEDIR)/$(PDF_OUTPUT) 40 # rm lfs.fo 19 cd $(BASEDIR); goTidy 41 20 42 21 pdf: 43 xsltproc --xinclude --nonet --stringparam profile.condition print \ 44 --output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl index.xml 45 xsltproc --nonet --output $(BASEDIR)/lfs-pdf.fo stylesheets/lfs-pdf.xsl \ 46 $(BASEDIR)/lfs-pdf.xml 47 sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo 48 fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) 49 rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo 22 xsltproc --xinclude --nonet --stringparam profile.condition print --output $(BASEDIR)lfs-pdf.xml \ 23 stylesheets/lfs-profile.xsl index.xml 24 xsltproc --nonet --output $(BASEDIR)lfs-pdf.fo stylesheets/lfs-pdf.xsl $(BASEDIR)lfs-pdf.xml 25 cd $(BASEDIR); sed -i -e "s@inherit@all@" lfs-pdf.fo 26 cd $(BASEDIR); JAVA_HOME=/opt/java/jre1.3.1_02 FOP_HOME=/home/macana/tmp/fop \ 27 /home/macana/tmp/fop/fop.sh lfs-pdf.fo lfs-pdf.pdf 50 28 51 29 nochunks: 52 xsltproc --xinclude --nonet --output $(BASEDIR) /$(NOCHUNKS_OUTPUT)\30 xsltproc --xinclude --nonet --output $(BASEDIR)lfs-nochunk.html \ 53 31 stylesheets/lfs-nochunks.xsl index.xml 54 tidy -config tidy.conf $(BASEDIR) /$(NOCHUNKS_OUTPUT)|| true32 tidy -config tidy.conf $(BASEDIR)lfs-nochunk.html || true 55 33 56 34 validate: 57 35 xmllint --noout --nonet --xinclude --postvalid index.xml 36 58 37 -
chapter05/binutils-pass1.xml
r3be2393 r00cc7ce 55 55 <para>Now prepare Binutils for compilation:</para> 56 56 57 <screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools --disable-nls</userinput></screen> 57 <screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools 58 --disable-nls</userinput></screen> 58 59 59 60 <para>The meaning of the configure options:</para> -
chapter06/binutils.xml
r3be2393 r00cc7ce 46 46 set up for proper PTY operation:</para> 47 47 48 <screen><computeroutput>The system has no more ptys. Ask your system administrator to create more.</computeroutput></screen> 48 <screen><computeroutput>The system has no more ptys. 49 Ask your system administrator to create more.</computeroutput></screen> 49 50 50 51 <para>This issue needs to be resolved before running the test suites … … 59 60 <para>Prepare Binutils for compilation:</para> 60 61 61 <screen><userinput>../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen> 62 <screen><userinput>../binutils-&binutils-version;/configure --prefix=/usr \ 63 --enable-shared</userinput></screen> 62 64 63 65 <para>Compile the package:</para> -
chapter06/coreutils.xml
r3be2393 r00cc7ce 40 40 installed by other packages:</para> 41 41 42 <screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch</userinput></screen> 42 <screen><userinput>patch -Np1 -i \ 43 ../coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch</userinput></screen> 43 44 44 45 <para>Now prepare Coreutils for compilation:</para> -
chapter06/gcc.xml
r3be2393 r00cc7ce 70 70 71 71 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \ 72 --libexecdir=/usr/lib --enable-shared --enable-threads=posix \ 73 --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++</userinput></screen> 72 --libexecdir=/usr/lib --enable-shared \ 73 --enable-threads=posix --enable-__cxa_atexit \ 74 --enable-clocale=gnu --enable-languages=c,c++</userinput></screen> 74 75 75 76 <para>Compile the package:</para> -
chapter06/glibc.xml
r3be2393 r00cc7ce 222 222 running:</para> 223 223 224 <screen><userinput>cp --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> /etc/localtime</userinput></screen> 224 <screen><userinput>cp --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \ 225 /etc/localtime</userinput></screen> 225 226 226 227 <para>Replace [xxx] with the name of the time zone that the -
chapter06/udev.xml
r3be2393 r00cc7ce 50 50 the configuration files here:</para> 51 51 52 <screen><userinput>cp ../udev-config-2.permissions /etc/udev/permissions.d/25-lfs.permissions 52 <screen><userinput>cp ../udev-config-2.permissions \ 53 /etc/udev/permissions.d/25-lfs.permissions 53 54 cp ../udev-config-1.rules /etc/udev/rules.d/25-lfs.rules</userinput></screen> 54 55 -
chapter06/util-linux.xml
r3be2393 r00cc7ce 38 38 following:</para> 39 39 40 <screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' hwclock/hwclock.c 40 <screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ 41 hwclock/hwclock.c 41 42 mkdir -p /var/lib/hwclock</userinput></screen> 42 43 -
chapter07/udev.xml
r3be2393 r00cc7ce 208 208 module, at the same time.</quote> For example:</para> 209 209 210 <screen><userinput>install snd-pcm modprobe -i snd-pcm ; modprobe snd-pcm-oss ; true</userinput></screen> 210 <screen><userinput>install snd-pcm modprobe -i snd-pcm ; modprobe \ 211 snd-pcm-oss ; true</userinput></screen> 211 212 212 213 <para>This will cause the system to load both the -
chapter08/fstab.xml
r3be2393 r00cc7ce 57 57 devices:</para> 58 58 59 <screen> usbfs/proc/bus/usb usbfs devgid=14,devmode=0660 0 0 </screen>59 <screen>usbfs /proc/bus/usb usbfs devgid=14,devmode=0660 0 0 </screen> 60 60 61 61 <para>This option will only work if <quote>Support for Host-side -
chapter08/kernel.xml
r3be2393 r00cc7ce 54 54 55 55 <screen><userinput>loadkeys -m /usr/share/kbd/keymaps/<replaceable>[path to keymap]</replaceable> > \ 56 <replaceable>[ unpackedsources dir]</replaceable>/linux-&linux-version;/drivers/char/defkeymap.c</userinput></screen>56 <replaceable>[sources dir]</replaceable>/linux-&linux-version;/drivers/char/defkeymap.c</userinput></screen> 57 57 58 58 <para>For example, if using a Dutch keyboard, use -
prologue/typography.xml
r3be2393 r00cc7ce 20 20 referenced.</para> 21 21 22 <screen><computeroutput>install-info: unknown option `--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>22 <screen><computeroutput>install-info: unknown option '--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen> 23 23 24 24 <para>This form of text (fixed width text) shows screen output,
Note:
See TracChangeset
for help on using the changeset viewer.