Changeset 8bb92e7


Ignore:
Timestamp:
10/03/2005 03:24:16 AM (19 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Branches:
0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
d7fd195
Parents:
1936487
Message:

Add a header to the generated Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    r1936487 r8bb92e7  
    150150FNC=functions
    151151if [ -z $TEST ] ; then TEST=0 ; fi
     152
     153HEADER="# This file is automatically generated by jhalfs
     154# DO NOT EDIT THIS FILE MANUALLY
     155#
     156# Generated on `date \"+%F %X %Z\"`"
    152157
    153158get_book() {
     
    516521  done
    517522
    518   # Stick variables and some defines at the top of the real makefile
    519   echo "export SRC := /sources" > $MKFILE
     523  # Add a header to the top of the real Makefile
     524  echo -e "$HEADER\n" > $MKFILE
     525
     526  # Add some variables and include the functions file
     527  echo "export SRC := /sources" >> $MKFILE
    520528  echo "export LFS := $BUILDDIR" >> $MKFILE
    521529  echo -e "export LOGDIR := $LOGDIR\n" >> $MKFILE
Note: See TracChangeset for help on using the changeset viewer.