summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-03 04:40:50 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-03 04:40:50 +0000
commitaaf688e85f11a2e6d2fc7b9afbf81e15e146f766 (patch)
tree181d7ef2008c2c93747f1c5cc15a83605e1ad487 /Makefile
parent74dd1fee1cea649ee16ee94c898cc71ce67dd02f (diff)
Update.
* Makeconfig (all-subdirs): Add conform. * conform/Makefile: Include ../Rules. * Makefile (README): Add rules to generate here as well. 2000-08-02 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ddb682d69f..6da6df0dde 100644
--- a/Makefile
+++ b/Makefile
@@ -272,7 +272,14 @@ distribute := README README.libm INSTALL FAQ FAQ.in NOTES NEWS BUGS \
distribute := $(strip $(distribute))
generated := $(generated) stubs.h
-README: README.template version.h ; # Make-dist should update README.
+README: README.template version.h
+ -rm -f $@
+ sed -e 's/RELEASE/$(release)/' -e 's/VERSION/$(version)/' < $< > $@
+# Make it unwritable so I won't change it by mistake.
+ chmod 444 $@
+ifeq ($(with-cvs),yes)
+ test ! -d CVS || cvs $(CVSOPTS) commit -m'Remade for $(release)-$(version)' $@
+endif
define format-me
@rm -f $@