summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-28 23:27:02 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-28 23:36:58 +0900
commitb649850d4a1df500e0d3d41427313f2f7b5a645d (patch)
tree4b08628bcefda4c3ac63cff6da94d848bde4605c /common.mk
parent0bfb185654b13237b874dc00d5719e695416b711 (diff)
Force to update revision.h after the source updated [ci skip]
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 9645cee332..6a40cec850 100644
--- a/common.mk
+++ b/common.mk
@@ -1354,6 +1354,10 @@ after-update:: $(REVISION_H)
after-update:: extract-extlibs
after-update:: extract-gems
+update-src::
+ $(Q) $(RM) $(REVISION_H) revision.h "$(srcdir)/$(REVISION_H)" "$(srcdir)/revision.h"
+ $(Q) touch "$(srcdir)/revision.h"
+
update-remote:: update-src update-download
update-download:: $(ALWAYS_UPDATE_UNICODE:yes=update-unicode)
update-download:: update-gems