diff options
author | Niko Tyni <ntyni@iki.fi> | 2008-03-29 19:54:21 +0100 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2008-03-29 19:54:21 +0100 |
commit | d3f95bc4662de8aed1fe8a22cfc6bdddbd31be71 (patch) | |
tree | 34b917f48a058f97831714969c03fa935d58fdcf /Makefile | |
parent | be80594b5a59c846d5fa601f2b9144d39f03b60c (diff) | |
download | smokeping-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-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |