[Midnightbsd-cvs] mports: Makefile: Add indexbz2 target.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Mar 30 22:33:20 EDT 2008


Log Message:
-----------
Add indexbz2 target.  This is used to make the INDEX file for the webserver that all clients fetch.

Modified Files:
--------------
    mports:
        Makefile (r1.35 -> r1.36)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/Makefile,v
retrieving revision 1.35
retrieving revision 1.36
diff -L Makefile -L Makefile -u -r1.35 -r1.36
--- Makefile
+++ Makefile
@@ -58,6 +58,9 @@
 	@rm -f ${INDEXDIR}/${INDEXFILE}
 	@cd ${.CURDIR} && make ${INDEXDIR}/${INDEXFILE}
 
+indexbz2: index
+	@bzip2 ${INDEXDIR}/${INDEXFILE}
+
 fetchindex: ${INDEXDIR}/{INDEXFILE}.bz2
 	@bunzip2 < ${INDEXDIR}/${INDEXFILE}.bz2 > ${INDEXDIR}/${INDEXFILE} && \
 	chmod a+r ${INDEXDIR}/${INDEXFILE}


More information about the Midnightbsd-cvs mailing list