summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2008-03-29 19:54:21 +0100
committerNiko Tyni <ntyni@iki.fi>2008-03-29 19:54:21 +0100
commitd3f95bc4662de8aed1fe8a22cfc6bdddbd31be71 (patch)
tree34b917f48a058f97831714969c03fa935d58fdcf /Makefile
parentbe80594b5a59c846d5fa601f2b9144d39f03b60c (diff)
downloadsmokeping-d3f95bc4662de8aed1fe8a22cfc6bdddbd31be71.tar.gz
smokeping-d3f95bc4662de8aed1fe8a22cfc6bdddbd31be71.tar.xz
add a target to recreate the docdirs just in case a "git clean -d -f" removed them...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5e64d3f..fbca0d8 100644
--- a/Makefile
+++ b/Makefile
@@ -148,6 +148,12 @@ killdoc:
doc: killdoc ref examples man html txt rename-man
+docdirs:
+ for d in doc/Smokeping doc/examples doc/Smokeping/probes \
+ doc/Smokeping/sorters doc/Smokeping/matchers; do \
+ [ -d $$d ] || mkdir -p $$d; \
+ done
+
# patch first so Smokeping.pm is older than smokeping_config.pod in the tarball
smokeping-$(VERSION).tar.gz:
$(PERL) -i~ -p -e 's/VERSION="\d.*?"/VERSION="$(NUMVERSION)"/' lib/Smokeping.pm