trans-coord-devel
[Top][All Lists]
Advanced

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

trans-coord/gnun/server/gnun ChangeLog GNUmakefile


From: Yavor Doganov
Subject: trans-coord/gnun/server/gnun ChangeLog GNUmakefile
Date: Sun, 01 Jun 2008 11:30:46 +0000

CVSROOT:        /cvsroot/trans-coord
Module name:    trans-coord
Changes by:     Yavor Doganov <yavor>   08/06/01 11:30:46

Modified files:
        gnun/server/gnun: ChangeLog GNUmakefile 

Log message:
        ($(rootdir)/gnusflashes.%.include): If the target is newly
        generated and there is a homepage, trigger its regeneration to
        enforce the inclusion of gnusflashes.LANG.include.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.76&r2=1.77
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.39&r2=1.40

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -b -r1.76 -r1.77
--- ChangeLog   1 Jun 2008 10:43:25 -0000       1.76
+++ ChangeLog   1 Jun 2008 11:30:45 -0000       1.77
@@ -3,6 +3,9 @@
        * GNUmakefile ($(template-dir)/po/whatsnew.translinks): New target
        to avoid `No rule to make ../../server/po/whatsnew.bg.html' error
        when run in a fresh export.
+       ($(rootdir)/gnusflashes.%.include): If the target is newly
+       generated and there is a homepage, trigger its regeneration to
+       enforce the inclusion of gnusflashes.LANG.include.
 
        * gnun.mk (philosophy): Add `why-audio-format-matters'; requested
        by the Italian team.

Index: GNUmakefile
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- GNUmakefile 1 Jun 2008 10:43:26 -0000       1.39
+++ GNUmakefile 1 Jun 2008 11:30:45 -0000       1.40
@@ -295,7 +295,11 @@
 
 # Derive the targets from whatsnew.LANG.include.  Pattern rules rule.
 $(rootdir)/gnusflashes.%.include: $(template-dir)/whatsnew.%.include
-       $(addfile)
+# If there is a homepage, touch its PO file in order to be regenerated
+# in the same GNUN run to include gnusflashes.LANG.include.
+       [ -f $@ ] || (touch $@ ; $(CVSSKIP) $(CVS) add $@ \
+         && ([ ! -f $(rootdir)/home.$*.shtml ] \
+             || touch $(rootdir)/po/home.$*.po))
        echo "<!--Automatically generated by GNUN; do not edit!-->" > $@
        grep --max-count=3 '<dd>.*</dd>' $< >> $@
        $(SED) --in-place "s/\(\/\?\)dd>/\1p>/g" $@ || (touch $< ; exit 1)




reply via email to

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