• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

The MinGW.org Installation Manager Tool


Commit MetaInfo

Révision07291803b55069c7ea335cf48aa4824c99ae8627 (tree)
l'heure2013-06-19 23:35:53
AuteurKeith Marshall <keithmarshall@user...>
CommiterKeith Marshall

Message de Log

Rework defective package build time-stamping logic.

Change Summary

Modification

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
1+2013-06-19 Keith Marshall <keithmarshall@users.sourceforge.net>
2+
3+ Rework defective package build time-stamping logic.
4+
5+ * Makefile.in (%.time): Make it explicitly touch its target; the
6+ 2013-05-15 changes, to reduce redundancy, didn't work as expected.
7+ (%.tag): Add a side effect; make it also explicitly touch %.time.
8+ (%.tagged.time): This is now redundant; remove it.
9+
110 2013-06-14 Keith Marshall <keithmarshall@users.sourceforge.net>
211
312 Collect distributable package files in user specified directory.
--- a/Makefile.in
+++ b/Makefile.in
@@ -249,20 +249,21 @@ sinclude *.d
249249 %.$(OBJEXT): %.ico
250250 echo $* ICON $*.ico | $(RC) -I ${srcdir}/icons -o $@
251251
252-# Release tagging...
252+# Release tagging; note that, whereas %.time is nominally updated as
253+# a side effect of %.tag, we also must provide an explicit rule which
254+# will update it directly. This ensures that we may INDIRECTLY force
255+# a dependency on the TIME when %.tag is updated, WITHOUT creating an
256+# explicit dependency on %.tag itself.
253257 #
254258 time-stamp:
255-%.tagged.time: time-stamp
256- > $*.time
257-
258-%.time: %.tagged.time
259-
260-%.tag: %.tagged.time
259+%.time:; > $@
260+%.tag: time-stamp
261261 >> $@; tag=`date +%Y%m%d`; \
262262 tag=`awk -F- -v today=$$tag ' \
263263 BEGIN { tag = 1 } $$1 == today { tag += $$2 } \
264264 END { print today "-" tag }' $@`; \
265265 echo $$tag > $@
266+ > $*.time
266267
267268 %.c: %.c.in
268269 $(VERSION_SCRIPT) $< > $@