From d3f95bc4662de8aed1fe8a22cfc6bdddbd31be71 Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Sat, 29 Mar 2008 18:54:21 +0000 Subject: add a target to recreate the docdirs just in case a "git clean -d -f" removed them... --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3-24-g4f1b