diff options
-rw-r--r-- | GNUmakefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 6b9ee5e..4c828f1 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,15 @@ all:: RSYNC_DEST := bogomips.org:/srv/bogomips/mogilefs-client rfpackage := mogilefs-client + +ex := $(shell git ls-files examples/) +doc_ex := $(addprefix doc/, $(ex)) + +$(doc_ex): $(ex) + mkdir -p $(@D) + install -m 644 $< $@ + -touch -r $< $@ # GNU + include pkg.mk +doc:: + $(MAKE) $(doc_ex) |