Skip to content

Commit

Permalink
Bug 820351 - Use pymake native touch in config/makefiles/autotargets.…
Browse files Browse the repository at this point in the history
…mk. r=ted
  • Loading branch information
glandium committed Dec 11, 2012
1 parent 0ffc254 commit 2261370
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/makefiles/autotargets.mk
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ mkdir_deps =$(foreach dir,$(getargv),$(call slash_strip,$(dir)/.mkdir.done))
# Make the timestamp old enough for not being a problem with symbolic links
# targets depending on it. Use Jan 3, 1980 to accomodate any timezone where
# 198001010000 would translate to something older than FAT epoch.
@touch -t 198001030000 $@
@$(TOUCH) -t 198001030000 $@

# A handful of makefiles are attempting "mkdir dot". Likely not intended
# or stale logic so add a stub target to handle the request and warn for now.
.mkdir.done:
ifndef NOWARN_AUTOTARGETS # {
@echo "WARNING: $(MKDIR) -dot- requested by $(MAKE) -C $(CURDIR) $(MAKECMDGOALS)"
@touch -t 198001030000 $@
@$(TOUCH) -t 198001030000 $@
endif #}

INCLUDED_AUTOTARGETS_MK = 1
Expand Down
4 changes: 2 additions & 2 deletions js/src/config/makefiles/autotargets.mk
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ mkdir_deps =$(foreach dir,$(getargv),$(call slash_strip,$(dir)/.mkdir.done))
# Make the timestamp old enough for not being a problem with symbolic links
# targets depending on it. Use Jan 3, 1980 to accomodate any timezone where
# 198001010000 would translate to something older than FAT epoch.
@touch -t 198001030000 $@
@$(TOUCH) -t 198001030000 $@

# A handful of makefiles are attempting "mkdir dot". Likely not intended
# or stale logic so add a stub target to handle the request and warn for now.
.mkdir.done:
ifndef NOWARN_AUTOTARGETS # {
@echo "WARNING: $(MKDIR) -dot- requested by $(MAKE) -C $(CURDIR) $(MAKECMDGOALS)"
@touch -t 198001030000 $@
@$(TOUCH) -t 198001030000 $@
endif #}

INCLUDED_AUTOTARGETS_MK = 1
Expand Down

0 comments on commit 2261370

Please sign in to comment.