bagder: curl-www/docs Makefile,1.51,1.52
| Newsgroups | gmane.comp.web.curl.www.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/curl/curl-www/docs
In directory labb:/tmp/cvs-serv4987
Modified Files:
Makefile
Log Message:
updated the thanks thing to work with the new list with only one name
per line
Index: Makefile
===================================================================
RCS file: /cvsroot/curl/curl-www/docs/Makefile,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- Makefile 9 May 2005 14:44:31 -0000 1.51
+++ Makefile 13 Jul 2005 08:01:09 -0000 1.52
@@ -6,7 +6,8 @@
../where.t ../ad.t ../libcurl/_links.html ../mirrorlinks.t \
../css.t ../sflogo.t Makefile
NOW=$(shell gnudate +'-D__TODAY__=%B %e, %Y')
-ACTION=@echo preprocessing $@; rm -f $@; fcpp -I.. -Idocs -WWW -Uunix -H -C -V -P -LL "$(NOW)" $< $@;
+FCPPOPTS=-I.. -Idocs -WWW -Uunix -H -C -V -P -LL "$(NOW)"
+ACTION=@echo preprocessing $@; rm -f $@; fcpp $(FCPPOPTS) $< $@;
TXT2HTML= txt2html --extract --hrule 10
TXT2PLAIN = txt2plain.pl
@@ -86,15 +87,10 @@
$(ACTION)
thanks.html: _thanks.html $(MAINPARTS) thanks.t
- (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)" $< $@;)
+ actual=`wc -l thanks.t | awk '{print $$1}'` && fcpp $(FCPPOPTS) -D__NUM__=$$actual $< $@
thanks.t: $(DOCROOT)/THANKS
- $(TXT2PLAIN) < $< | grep -v "^ " > $@
+ grep "^[A-Za-z]" $(DOCROOT)/THANKS | awk '{ print $$0 ", ";}' > $@
faq.html: _faq.shtml $(MAINPARTS) faq.t
$(ACTION)
_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-www-commits