Handle short writes on logfiles.
[users/jgh/exim.git] / src / scripts / MakeLinks
index ac092095570b78157c8ac44f3c6347422922f6bf..082659c9923b8af8a046f05e167b867251d60630 100755 (executable)
@@ -1,5 +1,4 @@
 #!/bin/sh
-# $Cambridge: exim/src/scripts/MakeLinks,v 1.17 2009/11/13 15:58:17 nm4 Exp $
 
 # Script to build links for all the exim source files from the system-
 # specific build directory. It should be run from within that directory.
@@ -17,17 +16,15 @@ if [ -r pcre/Makefile ] ; then
 fi
 
 
-# Initialize the file holding the compile number
-
-echo "0" > cnumber.h
-
 echo ""
 echo ">>> Creating links to source files..."
 
 
-# PCRE is no longer part of the source distribution, so is no longer linked
+# The sources for modular parts of Exim have to be linked independently
+# in their own sub-directories, since their .o files are built using
+# their own Makefile in their sub-directory.
 
-# Likewise for the lookups
+# Firstly the lookups
 mkdir lookups
 cd lookups
 ln -s ../../src/lookups/README           README
@@ -182,7 +179,6 @@ ln -s ../src/osfunctions.h     osfunctions.h
 ln -s ../src/store.h           store.h
 ln -s ../src/structs.h         structs.h
 ln -s ../src/lookupapi.h       lookupapi.h
-ln -s ../src/version.h         version.h
 
 ln -s ../src/acl.c             acl.c
 ln -s ../src/buildconfig.c     buildconfig.c