r440 - x86/trunk/packages/LFS-BOOK

justin at linuxfromscratch.org justin at linuxfromscratch.org
Sun Jul 31 23:53:43 PDT 2005


Author: justin
Date: 2005-08-01 00:53:40 -0600 (Mon, 01 Aug 2005)
New Revision: 440

Modified:
   x86/trunk/packages/LFS-BOOK/Makefile
Log:
Updated LFS-BOOK Makefile.

Modified: x86/trunk/packages/LFS-BOOK/Makefile
===================================================================
--- x86/trunk/packages/LFS-BOOK/Makefile	2005-08-01 06:43:56 UTC (rev 439)
+++ x86/trunk/packages/LFS-BOOK/Makefile	2005-08-01 06:53:40 UTC (rev 440)
@@ -1,28 +1,36 @@
 # LFS Book Makefile
+#==============================================================================
 
-# Package versions
 NM= LFS-BOOK
 VRS= 6.1
 DIR= $(NM)-$(VRS)-HTML
+
 URL= svn://svn.linuxfromscratch.org/LFS/branches/$(VRS)/BOOK
 
+# Targets
+# =============================================================================
 
+chroot:
+	@chroot "$(MP)" $(chenv-blfs) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
 
-#RULES
+stage2: Makefile
+	@$(std_build)
 
-.PHONY: clean chroot stage2
+compile-stage2:
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@svn co -q $(URL) $(DIR)
+	@cd $(DIR)
+	@make BASEDIR=/usr/share/$(DIR) >../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
 
-chroot:
-	@chroot "$(MP)" $(chenv-blfs) 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
-
-stage2:
-	@echo ""
-	@echo "=====> Building $(NM) in chroot"
-	@echo ""
-	@if [ ! -d /usr/share/$(DIR) ] ; then svn co $(URL) $(DIR) && \
-	 cd $(DIR) && \
-	 make BASEDIR=/usr/share/$(DIR) ; fi
-	@make clean
-
 clean:
 	@-rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2




More information about the livecd mailing list