summaryrefslogtreecommitdiff
path: root/doc/dirstamp.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/dirstamp.rst')
-rw-r--r--doc/dirstamp.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/dirstamp.rst b/doc/dirstamp.rst
new file mode 100644
index 0000000..fe69d26
--- /dev/null
+++ b/doc/dirstamp.rst
@@ -0,0 +1,7 @@
+Improved dirstamp
+=================
+
+.. code-block:: makefile
+
+ dirstamp.lst:
+ [ ! -e $@ -o -n "$(find dir/ -newer $@ -print -quit)" ] && touch $@ || :;