r1789 - profiles/BLFS/trunk/chapter21

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sun Feb 20 12:46:03 PST 2005


Author: kpfleming
Date: 2005-02-20 13:46:02 -0700 (Sun, 20 Feb 2005)
New Revision: 1789

Modified:
   profiles/BLFS/trunk/chapter21/exim.xml
Log:
simplify building Local/Makefile



Modified: profiles/BLFS/trunk/chapter21/exim.xml
===================================================================
--- profiles/BLFS/trunk/chapter21/exim.xml	2005-02-20 20:45:49 UTC (rev 1788)
+++ profiles/BLFS/trunk/chapter21/exim.xml	2005-02-20 20:46:02 UTC (rev 1789)
@@ -64,10 +64,19 @@
       <stageinfo>
         <base>&build_dir;/&exim-directory;</base>
       </stageinfo>
-      <execute command="sed -e 's/^BIN_DIR.*$/BIN_DIRECTORY=\/usr\/sbin/' src/EDITME | 
-                        sed -e 's/^CONF.*$/CONFIGURE_FILE=\/etc\/exim.conf/' | 
-                        sed -e 's/^EXIM_USER.*$/EXIM_USER=exim/' | 
-                              sed -e 's/^EXIM_MONITOR/#EXIM_MONITOR/' > Local/Makefile" />
+      <copy>
+        <source>src/EDITME</source>
+	<destination>Local/Makefile</destination>
+      </copy>
+      <textdump mode="append">
+        <file>Local/Makefile</file>
+	<content>
+	=BIN_DIRECTORY=/usr/sbin
+	=CONFIGURE_FILE=/etc/exim.conf
+	=EXIM_USER=exim
+	=EXIM_MONITOR=
+	</content>
+      </textdump>
       <make />
       <make>
         <param>install</param>




More information about the alfs-log mailing list