Author: bdubbs
Date: 2012-09-26 20:59:53 -0600 (Wed, 26 Sep 2012)
New Revision: 10000

Modified:
   trunk/BOOK/udev-lfs/Makefile.lfs
   trunk/BOOK/udev-lfs/cfg.h
Log:
Updates for udev-lfs-192

Modified: trunk/BOOK/udev-lfs/Makefile.lfs
===================================================================
--- trunk/BOOK/udev-lfs/Makefile.lfs    2012-09-27 02:36:20 UTC (rev 9999)
+++ trunk/BOOK/udev-lfs/Makefile.lfs    2012-09-27 02:59:53 UTC (rev 10000)
@@ -4,7 +4,7 @@
 # vim: tabstop=3
 
 SHELL=/bin/bash
-VERSION=190
+VERSION=192
 
 ifeq ($(V),)
  VB = @
@@ -159,7 +159,7 @@
 
 common: udev-lfs-$(VERSION)/cfg.h
        @mkdir -p build
-       cp udev-lfs-$(VERSION)/cfg.h .
+       sed  -e 's/LFS-VERSION/$(VERSION)/' udev-lfs-$(VERSION)/cfg.h > ./cfg.h
 
 build/%o: %c common
        @echo CC $<

Modified: trunk/BOOK/udev-lfs/cfg.h
===================================================================
--- trunk/BOOK/udev-lfs/cfg.h   2012-09-27 02:36:20 UTC (rev 9999)
+++ trunk/BOOK/udev-lfs/cfg.h   2012-09-27 02:59:53 UTC (rev 10000)
@@ -41,7 +41,7 @@
 # define _GNU_SOURCE 1
 
 /* Version number of package */
-#define VERSION "190"
+#define VERSION "LFS-VERSION"
 
 #define HAVE_DECL_PIVOT_ROOT 0
 #define HAVE_DECL_GETTID 0

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to