mirror of
https://github.com/mirror/make.git
synced 2025-01-31 06:40:49 +08:00
Do CVS magic, not RCS magic.
This commit is contained in:
parent
e8dcf11ae0
commit
8fc1187283
15
GNUmakefile
15
GNUmakefile
@ -1,6 +1,6 @@
|
|||||||
# GNU Make-specific makefile for GNU Make.
|
# GNU Make-specific makefile for GNU Make.
|
||||||
|
|
||||||
# Copyright (C) 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
|
# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
|
||||||
# This file is part of GNU Make.
|
# This file is part of GNU Make.
|
||||||
#
|
#
|
||||||
# GNU Make is free software; you can redistribute it and/or modify
|
# GNU Make is free software; you can redistribute it and/or modify
|
||||||
@ -153,6 +153,7 @@ $(globfiles): stamp-glob ;
|
|||||||
stamp-glob: /home/gd/gnu/libc/posix/glob.tar
|
stamp-glob: /home/gd/gnu/libc/posix/glob.tar
|
||||||
-rm -rf glob
|
-rm -rf glob
|
||||||
tar xvf $< glob
|
tar xvf $< glob
|
||||||
|
cvs commit -m'Updated from libc' glob
|
||||||
touch $@
|
touch $@
|
||||||
/home/gd/gnu/libc/posix/glob.tar: force
|
/home/gd/gnu/libc/posix/glob.tar: force
|
||||||
$(MAKE) -C $(@D) $(@F) no_deps=t
|
$(MAKE) -C $(@D) $(@F) no_deps=t
|
||||||
@ -175,6 +176,7 @@ Makefile.in: compatMakefile $(nolib-deps:remote-%.dep=remote-stub.dep)
|
|||||||
echo '# Automatically generated dependencies.'; \
|
echo '# Automatically generated dependencies.'; \
|
||||||
sed -e 's/ [^ ]*\.dep//' -e 's=$(archpfx)==' $(filter-out $<,$^) \
|
sed -e 's/ [^ ]*\.dep//' -e 's=$(archpfx)==' $(filter-out $<,$^) \
|
||||||
) > $@
|
) > $@
|
||||||
|
cvs commit -mRegenerated $@
|
||||||
|
|
||||||
.SUFFIXES: .dep
|
.SUFFIXES: .dep
|
||||||
# Maintain the automatically-generated dependencies.
|
# Maintain the automatically-generated dependencies.
|
||||||
@ -199,6 +201,7 @@ build.sh.in: build.template compatMakefile
|
|||||||
$< > $@.new
|
$< > $@.new
|
||||||
chmod a+x $@.new
|
chmod a+x $@.new
|
||||||
mv -f $@.new $@
|
mv -f $@.new $@
|
||||||
|
cvs commit -mRegenerated $@
|
||||||
|
|
||||||
# Make the distribution tar files.
|
# Make the distribution tar files.
|
||||||
|
|
||||||
@ -210,18 +213,16 @@ tarfiles := make # make-doc
|
|||||||
tarfiles := $(addsuffix -$(version).tar,$(tarfiles))
|
tarfiles := $(addsuffix -$(version).tar,$(tarfiles))
|
||||||
tarfiles := $(tarfiles:%=%.gz) # no more compress $(tarfiles:%=%.Z)
|
tarfiles := $(tarfiles:%=%.gz) # no more compress $(tarfiles:%=%.Z)
|
||||||
# Depend on default and doc so we don't ship anything that won't compile.
|
# Depend on default and doc so we don't ship anything that won't compile.
|
||||||
dist: rcs-mark default info dvi tests tarfiles
|
dist: cvs-mark default info dvi tests tarfiles
|
||||||
.PHONY: tarfiles
|
.PHONY: tarfiles
|
||||||
tarfiles: $(tarfiles)
|
tarfiles: $(tarfiles)
|
||||||
|
|
||||||
ifndef dist-flavor
|
ifndef dist-flavor
|
||||||
dist-flavor = alpha
|
dist-flavor = alpha
|
||||||
endif
|
endif
|
||||||
.PHONY: rcs-mark rcs-mark-alpha rcs-mark-beta
|
.PHONY: cvs-mark
|
||||||
rcs-mark: rcs-mark-$(dist-flavor)
|
cvs-mark:
|
||||||
rcs-mark-alpha: RCS/[!=]*,v;rcs -sAlpha -Nmake-$(version-): $^
|
cvs tag -F make-$(subst .,-,$(version))
|
||||||
rcs-mark-beta: RCS/[!=]*,v;rcs -sBeta -Nmake-$(version-): $^
|
|
||||||
version- = $(subst .,-,$(version))
|
|
||||||
|
|
||||||
dist: local-inst
|
dist: local-inst
|
||||||
.PHONY: local-inst
|
.PHONY: local-inst
|
||||||
|
Loading…
Reference in New Issue
Block a user