From 85c499b1cc45fb78c8a9c8ae6d72d85e77a8be69 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Fri, 19 Apr 2019 18:45:43 +0200 Subject: [PATCH] Describe how to load md5_tstamp - Issue 2231 --- waflib/Tools/md5_tstamp.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/waflib/Tools/md5_tstamp.py b/waflib/Tools/md5_tstamp.py index 2a587925..d1569fa9 100644 --- a/waflib/Tools/md5_tstamp.py +++ b/waflib/Tools/md5_tstamp.py @@ -2,7 +2,10 @@ # encoding: utf-8 """ -Re-calculate md5 hashes of files only when the file time have changed. +Re-calculate md5 hashes of files only when the file time have changed:: + + def options(opt): + opt.load('md5_tstamp') The hashes can also reflect either the file contents (STRONGEST=True) or the file time and file size.