mirror of
https://github.com/mirror/make.git
synced 2025-01-21 09:41:03 +08:00
(dist): Depend on rcs-mark first.
(rcs-mark): New target. (rcs-mark-alpha, rcs-mark-beta): Use $(version-); append : to name for -N. (version-): New variable, removes dots (RCS doesn't like) from $(version).
This commit is contained in:
parent
d2e496cc01
commit
cf63c0c966
11
GNUmakefile
11
GNUmakefile
@ -210,17 +210,18 @@ 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: default info dvi tests tarfiles
|
dist: rcs-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-alpha rcs-mark-beta
|
.PHONY: rcs-mark rcs-mark-alpha rcs-mark-beta
|
||||||
dist: rcs-mark-$(dist-flavor)
|
rcs-mark: rcs-mark-$(dist-flavor)
|
||||||
rcs-mark-alpha:;rcs -sAlpha -Nmake-$(version) RCS/[!=]*,v
|
rcs-mark-alpha:;rcs -sAlpha -Nmake-$(version-): RCS/[!=]*,v
|
||||||
rcs-mark-beta:;rcs -sBeta -Nmake-$(version) RCS/[!=]*,v
|
rcs-mark-beta:;rcs -sBeta -Nmake-$(version-): RCS/[!=]*,v
|
||||||
|
version- = $(subst .,-,$(version))
|
||||||
|
|
||||||
dist: local-inst
|
dist: local-inst
|
||||||
.PHONY: local-inst
|
.PHONY: local-inst
|
||||||
|
Loading…
Reference in New Issue
Block a user