]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Correctly record changes for the latest release in case there have been no
authorRuediger Pluem <rpluem@apache.org>
Wed, 12 May 2021 16:24:18 +0000 (16:24 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 12 May 2021 16:24:18 +0000 (16:24 +0000)
  changes at all for this release so far.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1889806 13f79535-47bb-0310-9956-ffa450edef68

Makefile.in

index 95a970a870471a0fc0c78470237e8b80f5ec77cf..e4961561b159bd22a034dd9d8383b5e163bc049a 100644 (file)
@@ -169,9 +169,9 @@ docs:
 update-changes:
        @for i in `find changes-entries -type f`; do \
            cp CHANGES CHANGES.tmp ; \
-           awk -v fname=$$i 'BEGIN{done = 0} \
-                           done == 0 && /^Changes with Apache /{ active = 1; print; next}; \
-                           /^ *\*/ && active == 1 && done == 0{rec=$$0; while(getline<fname){if (! ($$0 ~ /^ *$$/)){print}}printf "\n";print rec; active = 0; done = 1; next} //;' \
+           awk -v fname=$$i 'BEGIN{done = 0; active = 0} \
+                           done == 0 && active == 0 && /^Changes with Apache /{ active = 1; print; next}; \
+                           /^( *\*|Changes with Apache )/ && active == 1 && done == 0{rec=$$0; while(getline<fname){if (! ($$0 ~ /^ *$$/)){print}}printf "\n";print rec; active = 0; done = 1; next} //;' \
            CHANGES.tmp > CHANGES ; \
            rm CHANGES.tmp ; \
            if [ -n "$(SVN)" ] ; then \