Changeset 195ed9f for common/libs/func_wrt_Makefile
- Timestamp:
- 11/11/2006 07:55:13 PM (18 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 8f2c086
- Parents:
- fe30c61
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_wrt_Makefile
rfe30c61 r195ed9f 5 5 #=== MAKEFILE HEADER === 6 6 7 HEADER="# This file is automatically generated by jhalfs 7 #----------------------------------# 8 wrt_Makefile_header() { # 9 #----------------------------------# 10 ( 11 cat << EOF 12 # This file is automatically generated by jhalfs 8 13 # DO NOT EDIT THIS FILE MANUALLY 9 14 # 10 # Generated on `date \"+%F %X %Z\"`" 15 # Generated on `date "+%F %X %Z"` 16 17 18 SRC = /sources 19 MOUNT_PT = $BUILDDIR 20 PKG_LST = $PKG_LST 21 LUSER = $LUSER 22 LGROUP = $LGROUP 23 SCRIPT_ROOT = $SCRIPT_ROOT 24 ADD_BLFS_TOOLS = $BLFS_TOOL 25 26 BASEDIR = \$(MOUNT_PT) 27 SRCSDIR = \$(BASEDIR)/sources 28 CMDSDIR = \$(BASEDIR)/\$(SCRIPT_ROOT)/$PROGNAME-commands 29 LOGDIR = \$(BASEDIR)/\$(SCRIPT_ROOT)/logs 30 TESTLOGDIR = \$(BASEDIR)/\$(SCRIPT_ROOT)/test-logs 31 32 crCMDSDIR = /\$(SCRIPT_ROOT)/$PROGNAME-commands 33 crLOGDIR = /\$(SCRIPT_ROOT)/logs 34 crTESTLOGDIR = /\$(SCRIPT_ROOT)/test-logs 35 36 SU_LUSER = su - \$(LUSER) -c 37 LUSER_HOME = /home/\$(LUSER) 38 PRT_DU = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found \$(MOUNT_PT) \`\n" 39 PRT_DU_CR = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found / \`\n" 40 41 export PATH := \${PATH}:/usr/sbin 42 43 include makefile-functions 44 45 EOF 46 ) > $MKFILE 47 } 11 48 12 49 #=======================
Note:
See TracChangeset
for help on using the changeset viewer.