Mercurial > hg > octave-kai > gnulib-hg
changeset 17107:b80255c1ec9d
maint.mk: formatting changes
* top/maint.mk: Indent bodies of if's.
author | Akim Demaille <akim@lrde.epita.fr> |
---|---|
date | Mon, 24 Sep 2012 10:06:15 +0200 |
parents | e429e0d221f9 |
children | c84a55a64755 58f466c59931 |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 17 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-09-25 Akim Demaille <akim@lrde.epita.fr> + + maint.mk: formatting changes + * top/maint.mk: Indent bodies of if's. + 2012-09-21 Akim Demaille <akim@lrde.epita.fr> maint.mk: factor the validation of RELEASE_TYPE
--- a/top/maint.mk +++ b/top/maint.mk @@ -68,9 +68,9 @@ # Post-process $(VC_LIST) output, prepending $(srcdir)/, but only # when $(srcdir) is not ".". ifeq ($(srcdir),.) -_prepend_srcdir_prefix = + _prepend_srcdir_prefix = else -_prepend_srcdir_prefix = | sed 's|^|$(srcdir)/|' + _prepend_srcdir_prefix = | sed 's|^|$(srcdir)/|' endif # In order to be able to consistently filter "."-relative names, @@ -94,13 +94,13 @@ PREV_VERSION_REGEXP = $(subst .,\.,$(PREV_VERSION)) ifeq ($(VC),$(GIT)) -this-vc-tag = v$(VERSION) -this-vc-tag-regexp = v$(VERSION_REGEXP) + this-vc-tag = v$(VERSION) + this-vc-tag-regexp = v$(VERSION_REGEXP) else -tag-package = $(shell echo "$(PACKAGE)" | tr '[:lower:]' '[:upper:]') -tag-this-version = $(subst .,_,$(VERSION)) -this-vc-tag = $(tag-package)-$(tag-this-version) -this-vc-tag-regexp = $(this-vc-tag) + tag-package = $(shell echo "$(PACKAGE)" | tr '[:lower:]' '[:upper:]') + tag-this-version = $(subst .,_,$(VERSION)) + this-vc-tag = $(tag-package)-$(tag-this-version) + this-vc-tag-regexp = $(this-vc-tag) endif my_distdir = $(PACKAGE)-$(VERSION) @@ -127,9 +127,9 @@ gnu_rel_host ?= $(gnu_ftp_host-$(release-type)) ifeq ($(gnu_rel_host),ftp.gnu.org) -url_dir_list ?= http://ftpmirror.gnu.org/$(PACKAGE) + url_dir_list ?= http://ftpmirror.gnu.org/$(PACKAGE) else -url_dir_list ?= ftp://$(gnu_rel_host)/gnu/$(PACKAGE) + url_dir_list ?= ftp://$(gnu_rel_host)/gnu/$(PACKAGE) endif # Override this in cfg.mk if you are using a different format in your @@ -159,9 +159,9 @@ .PHONY: $(syntax-check-rules) ifeq ($(shell $(VC_LIST) >/dev/null 2>&1; echo $$?),0) -local-checks-available += $(syntax-check-rules) + local-checks-available += $(syntax-check-rules) else -local-checks-available += no-vc-detected + local-checks-available += no-vc-detected no-vc-detected: @echo "No version control files detected; skipping syntax check" endif