[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[2140] ipcop/trunk/lfs/misc-progs
From:       gespinasse () users ! sourceforge ! net
Date:       2008-11-30 15:41:07
Message-ID: E1L6oPz-0006Dk-58 () c3vjzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 2140
          http://ipcop.svn.sourceforge.net/ipcop/?rev=2140&view=rev
Author:   gespinasse
Date:     2008-11-30 15:41:06 +0000 (Sun, 30 Nov 2008)

Log Message:
-----------
Add more prerequisite so the target os now remade if a script or
 .c file has changed

Remove the now unneeded sed CONFIG_ROOT

Modified Paths:
--------------
    ipcop/trunk/lfs/misc-progs

Modified: ipcop/trunk/lfs/misc-progs
===================================================================
--- ipcop/trunk/lfs/misc-progs	2008-11-30 13:34:15 UTC (rev 2139)
+++ ipcop/trunk/lfs/misc-progs	2008-11-30 15:41:06 UTC (rev 2140)
@@ -56,16 +56,12 @@
 # Installation Details
 ###############################################################################
 
-$(TARGET) : $(firstword $(MAKEFILE_LIST))
+$(TARGET) : $(firstword $(MAKEFILE_LIST)) $(DIR_SRC)/src/rc.d/* \
$(DIR_SRC)/src/misc-progs/* $(DIR_SRC)/src/scripts/*  @$(PREBUILD)
 
 	# rc.d scripts
 	-mkdir -p /etc/rc.d
-	for i in $(DIR_SRC)/src/rc.d/* ; do \
-		if [ -f $$i ]; then \
-			sed "s+CONFIG_ROOT+$(CONFIG_ROOT)+g" $$i > /etc/rc.d/`basename $$i`; \
-		fi; \
-	done
+	cp -fv $(DIR_SRC)/src/rc.d/rc.* /etc/rc.d
 
 	# helper scripts, currently empty
 	#-mkdir -p /etc/rc.d/helper
@@ -80,8 +76,8 @@
 	chmod 4750 /etc/rc.d/rc.red
 
 	# Scripts
+	cp -fv $(DIR_SRC)/src/scripts/* /usr/local/bin/
 	for i in `find $(DIR_SRC)/src/scripts -maxdepth 1 -type f`; do \
-		sed "s+CONFIG_ROOT+$(CONFIG_ROOT)+g" $$i > /usr/local/bin/`basename $$i`; \
 		chmod 755 /usr/local/bin/`basename $$i`; \
 	done
 	# Move flash install script


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic