bagder: curl-www/docs Makefile,1.50,1.51 _thanks.html,1.8,1.9

[email protected]
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/docs
In directory labb:/tmp/cvs-serv12023

Modified Files:
	Makefile _thanks.html 
Log Message:
provide an automatic counter


Index: _thanks.html
===================================================================
RCS file: /cvsroot/curl/curl-www/docs/_thanks.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- _thanks.html	9 May 2005 11:22:26 -0000	1.8
+++ _thanks.html	9 May 2005 14:44:31 -0000	1.9
@@ -21,7 +21,7 @@
 <br><a href="/bugreport.html">Report Bugs</a>
 </div>
 <p>
-This project has been alive for many years. Countless people have provided
+This project has been alive for many years. __NUM__ persons have provided
 code, feedback, advice etc that have improved curl. curl and libcurl would not
 be what they are today without the help of friendly people like this:
 

Index: Makefile
===================================================================
RCS file: /cvsroot/curl/curl-www/docs/Makefile,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- Makefile	9 May 2005 09:19:12 -0000	1.50
+++ Makefile	9 May 2005 14:44:31 -0000	1.51
@@ -86,7 +86,12 @@
 	$(ACTION)
 
 thanks.html: _thanks.html $(MAINPARTS) thanks.t
-	$(ACTION)
+	(nc=`tr ',' '\012' < thanks.t | wc -l`; \
+        oc=`wc -l thanks.t | awk '{print $$1}' `; \
+	actual=`echo $$nc - $$oc + 1 | bc`; \
+	echo preprocessing $@; \
+	echo "People: $$actual"; \
+	fcpp -I.. -Idocs -WWW -Uunix -H -C -V -P -LL -D__NUM__=$$actual "$(NOW)" $< $@;)
 
 thanks.t: $(DOCROOT)/THANKS
 	$(TXT2PLAIN) < $< | grep -v "^ " > $@

_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-www-commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.