diff options
author | Niko Tyni <ntyni@iki.fi> | 2005-08-25 13:36:30 +0200 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2005-08-25 13:36:30 +0200 |
commit | b845e8f36b17287858130cac979914b3851189d3 (patch) | |
tree | e73da4e85f4af806f5c6d3b35dacd8f2bb2c591b /Makefile | |
parent | 097c0c8590821246ac6630e7f2d72c0db62ea69d (diff) | |
download | smokeping-b845e8f36b17287858130cac979914b3851189d3.tar.gz smokeping-b845e8f36b17287858130cac979914b3851189d3.tar.xz |
* 2.0/Makefile:
+ made the 'rename-man' target idempotent
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -100,7 +100,9 @@ txt: $(TXT) rename-man: $(MAN) for j in probes matchers; do \ for i in doc/Smokeping/$$j/*.3; do \ - mv $$i `echo $$i | sed s,$$j/,$$j/Smokeping::$$j::,`; \ + if ! echo $$i | grep -q Smokeping::$$j; then \ + mv $$i `echo $$i | sed s,$$j/,$$j/Smokeping::$$j::,`; \ + fi; \ done; \ done mv doc/Config/Grammar.3 doc/Config/Config::Grammar.3 |