cvs commit: ALFS/nALFS bootstrap bootstrap.Makefile

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Mon Nov 10 20:33:20 PST 2003


kpfleming    03/11/10 21:33:20

  Modified:    nALFS    bootstrap bootstrap.Makefile
  Log:
  add support for -h parameter
  fix bugs in automatic usage help display
  add profile files to Makefile.am so they will be included in the tarball
  
  Revision  Changes    Path
  1.22      +7 -8      ALFS/nALFS/bootstrap
  
  Index: bootstrap
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/bootstrap,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- bootstrap	11 Nov 2003 04:20:54 -0000	1.21
  +++ bootstrap	11 Nov 2003 04:33:20 -0000	1.22
  @@ -47,7 +47,7 @@
       cp ../DTD/${1}-${DTD_VERSION}.dtd doc/${1}.dtd
   }
   
  -while getopts d:g:p: param; do
  +while getopts hd:g:p: param; do
       case $param in
   	d)
   	    mkdir -p download
  @@ -81,18 +81,17 @@
   	    get_profile
   	    echo done.
   	    ;;
  -    esac
  -done
  -
  -if test "${param}" = "?" -a ${OPTIND} -gt 1; then
  -    cat 1>&2 <<"EOF"
  +	*)
  +	    cat 1>&2 <<"EOF"
   nALFS bootscript supports the following optional arguments:
       -d {version} downloads specified version of the DTD
       -g {version} downloads specified version of the guides
       -p {version} downloads specified version of the LFS profile
   EOF
  -    exit 1
  -fi
  +	    exit 1
  +	    ;;
  +    esac
  +done
   
   # some 'macros' for processing filename lists
   SP2NL="tr '\040' '\012'"
  
  
  
  1.9       +8 -0      ALFS/nALFS/bootstrap.Makefile
  
  Index: bootstrap.Makefile
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/bootstrap.Makefile,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- bootstrap.Makefile	7 Nov 2003 02:23:08 -0000	1.8
  +++ bootstrap.Makefile	11 Nov 2003 04:33:20 -0000	1.9
  @@ -91,3 +91,11 @@
       echo src_handlers_${handler}_la_LDFLAGS = -module -avoid-version 
       echo endif
   done
  +
  +for file in `find profile -type f -print`; do
  +	echo EXTRA_DIST += ${file}
  +done
  +
  +for file in `find profile -type l -print`; do
  +	echo EXTRA_DIST += ${file}
  +done
  
  
  



More information about the alfs-log mailing list