r416 - x86/trunk/packages/man-pages

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Thu Jul 28 18:14:51 PDT 2005


Author: thomasp
Date: 2005-07-28 19:14:51 -0600 (Thu, 28 Jul 2005)
New Revision: 416

Modified:
   x86/trunk/packages/man-pages/Makefile
Log:
Updated man-pages Makefile

Modified: x86/trunk/packages/man-pages/Makefile
===================================================================
--- x86/trunk/packages/man-pages/Makefile	2005-07-27 15:16:35 UTC (rev 415)
+++ x86/trunk/packages/man-pages/Makefile	2005-07-29 01:14:51 UTC (rev 416)
@@ -1,28 +1,38 @@
-# Linux-Libc-Headers Makefile
+# Man-pages Makefile
+#==============================================================================
 
-# Package versions
 NM= man-pages
-VRS= 2.01
+VRS= 2.07
 DIR= $(NM)-$(VRS)
+
 FILE= $(DIR).tar.bz2
-URL= $(HTTP)/$(NM)/$(FILE)
+URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
+SHA-$(FILE)= df00926f4644549b7d136777458f93aad1648d4d
 
-# RULES
+# Targets
+# =============================================================================
 
-.PHONY: chroot stage2 clean
+include $(ROOT)/scripts/functions
 
 chroot:
-	@chroot "$(MP)" $(chenv-pre-bash) 'cd $(MKTREE) && make ch-man-pages $(chbash-pre-bash)'
+	@chroot "$(MP)" $(chenv-pre-bash) \
+	'cd $(ROOT) && make ch-$(NM) $(chbash-pre-bash)'
 
-stage2:
-	@echo ""
-	@echo "=====> Building $(NM)"
-	@echo ""
-	@if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && \
-	 mv $(FILE) $(SRC) ; fi
-	@if [ ! -d /usr/share/man/man9 ] ; then unpack $(SRC)/$(FILE) && \
-	 cd $(DIR) && make install ; fi
-	@make clean
+stage2: Makefile $(FILE)
+	@$(std_build)
+
+compile-stage2:
+	@$(call echo_message, Installing)
+#==============================================================================
+# Install commands below \/
+#==============================================================================
+	@make install >>../$(DIR)-$@.log 2>&1
+#
+#==Status Messages===========================================
+#
+	@$(OK)
+
 clean:
 	@-rm -rf $(DIR)
 
+.PHONY: clean chroot compile-stage2




More information about the livecd mailing list