www-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

www/rss Makefile


From: Yavor Doganov
Subject: www/rss Makefile
Date: Sun, 07 Jun 2009 13:25:59 +0000

CVSROOT:        /web/www
Module name:    www
Changes by:     Yavor Doganov <yavor>   09/06/07 13:25:58

Modified files:
        rss            : Makefile 

Log message:
        (../server/whatsnew.include): Generate a Keywords: header to support
        Mailman's topics.

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/rss/Makefile?cvsroot=www&r1=1.64&r2=1.65

Patches:
Index: Makefile
===================================================================
RCS file: /web/www/www/rss/Makefile,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -b -r1.64 -r1.65
--- Makefile    2 Nov 2008 20:41:57 -0000       1.64
+++ Makefile    7 Jun 2009 13:25:58 -0000       1.65
@@ -24,6 +24,8 @@
 # DEPENDENCIES
 # This Makefile requires libxml2 and libxslt tools.
 # It also requires at least cvs version 12.9.
+# GNU mailutils or BSD mail is necessary for mailing the latest news
+# to the trans-coord-news mailing list.
 
 # Do all the news updates.
 all: quagga.rss gnunews
@@ -58,7 +60,11 @@
 # This is the target that sends the email to the translators list.
 ../server/whatsnew.include: ../server/whatsnew.txt ../server/whatsnew.xslt
        $(addfile)
-       head $< | mail -s "GNU news update" address@hidden
+# The Keywords: header is appended to support Mailman's "topics"
+# feature.  Only short options are passed to `mail' for compatibility
+# with BSD mail.
+       head $< | mail -a Keywords:whatsnew -s "GNU news update" \
+         address@hidden
        gawk -f ../server/news-to-xml.awk $< \
          | xsltproc ../server/whatsnew.xslt - > $@
 # Delete declarations that are necessary for successful xsltproc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]