#--*- Makefile -*--------------------------------------------------------------
#$Author: saulius $
#$Date: 2022-08-26 08:31:27 +0000 (Fri, 26 Aug 2022) $
#$Revision: 327 $
#$URL: svn+ssh://saulius-grazulis.lt/home/saulius/svn-repositories/makefiles/update-with-commit-times/Makelocal-update-commit-times $
#------------------------------------------------------------------------------

# Update a Subversion working copy, setting commit time-stamps as file
# creation times upon update. Useful for working copies where
# Make-generated files are committed into the repository.

.PHONY: update up revert

USE_COMMIT_TIMES_OPT = --config-option=config:miscellany:use-commit-times=yes

UPDATE_POST_PROCESSING_SCRIPTS ?= 

update up:
	svn up ${USE_COMMIT_TIMES_OPT}
	$(UPDATE_POST_PROCESSING_SCRIPTS)

revert:
	svn revert ${USE_COMMIT_TIMES_OPT} -R .
