summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2020-07-13 12:29:11 +0200
committerRuediger Pluem <rpluem@apache.org>2020-07-13 12:29:11 +0200
commit189927b73545e91f5bef79afd66ff2c8431075d2 (patch)
treef9f6f1befebc5faea6b5868baa62408999131d94 /Makefile.in
parentActually clear the cache for the worker MPM (missed in r1879757). (diff)
downloadapache2-189927b73545e91f5bef79afd66ff2c8431075d2.tar.xz
apache2-189927b73545e91f5bef79afd66ff2c8431075d2.zip
Add a new way to document changes
* Makefile.in: Define the update-changes target to merge the change files from the changes directory to the top of the CHANGES file and remove them afterwards. If a Subversion binary was found during configure try to svn rm them otherwise just delete them. * configure.in: Search for the Subversion binary. * acinclude.m4: Set the corresponding Makefile variable for the Subversion binary. * README.CHANGES: New file to document the new approach. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879822 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index df59db6fde..6a2be8d830 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -166,6 +166,26 @@ docs:
echo ' http://httpd.apache.org/docs-project/docsformat.html'; \
fi
+update-changes:
+ @for i in `find changes -type f`; do \
+ cp CHANGES CHANGES.tmp ; \
+ awk -vfname=$$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} //;' \
+ CHANGES.tmp > CHANGES ; \
+ rm CHANGES.tmp ; \
+ if [ -n "$(SVN)" ] ; then \
+ if ! $(SVN) rm $$i 2>/dev/null ; then \
+ $(RM) $$i ; \
+ fi ; \
+ else \
+ $(RM) $$i ; \
+ fi ; \
+ done ; \
+ if [ -n "$(SVN)" ] ; then \
+ $(SVN) diff CHANGES ; \
+ fi
+
validate-xml:
@if test -d $(top_srcdir)/docs/manual/build; then \
cd $(top_srcdir)/docs/manual/build && ./build.sh validate-xml; \