[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] buildid and buildbranch may not be PHONY on wi
From: |
Felix |
Subject: |
[Chicken-hackers] [PATCH] buildid and buildbranch may not be PHONY on windows |
Date: |
Tue, 13 Nov 2012 19:39:40 +0100 (CET) |
When building for Windows, "buildid" and "buildbranch" are
currently marked as .PHONY, which will regenerate them on
every make(1) invocation. This means buildversion.scm always
must be recompiled and even when building from a tarball,
the "chicken" executable is required.
By removing the .PHONY declaration, "buildid" and "buildbranch"
are directly taken as distributed with the tarball. On the build
from the git repo, they will not be updated, but this is only
a minor problem and can IMHO be ignored.
This should fix #949.
cheers,
felix
>From a530bdb7e00c8fc9ba424a11b1f718bf2e572b9d Mon Sep 17 00:00:00 2001
From: felix <address@hidden>
Date: Tue, 13 Nov 2012 19:35:17 +0100
Subject: [PATCH] buildid and buildbranch may not be PHONY
When building for Windows, "buildid" and "buildbranch" are
currently marked as .PHONY, which will regenerate them on
every make(1) invocation. This means buildversion.scm always
must be recompiled and even when building from a tarball,
the "chicken" executable is required.
By removing the .PHONY declaration, "buildid" and "buildbranch"
are directly taken as distributed with the tarball. On the build
from the git repo, they will not be updated, but this is only
a minor problem and can IMHO be ignored.
---
rules.make | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/rules.make b/rules.make
index c467b88..4b81679 100644
--- a/rules.make
+++ b/rules.make
@@ -465,8 +465,6 @@ endif
# build versioning
ifdef WINDOWS_SHELL
-.PHONY: buildbranch buildid
-
buildtag.h:
echo #define C_BUILD_TAG "$(BUILD_TAG)" >$@
buildbranch:
--
1.7.0.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-hackers] [PATCH] buildid and buildbranch may not be PHONY on windows,
Felix <=