summaryrefslogtreecommitdiff
path: root/doc/makefile
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-03-19 16:29:40 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-03-19 16:29:40 +0100
commit22d1b5c9bcfa69cfc4279370a5e8938079d28773 (patch)
tree222fe4cf3ae33651ad7a0454838c5e8d5a89cc37 /doc/makefile
parent9552aeeb1524d5b659ae209becb322b3d6763183 (diff)
first-time build the translated manpages and remove the directories
in the veryclean target to get right of all autogenerated files.
Diffstat (limited to 'doc/makefile')
-rw-r--r--doc/makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/makefile b/doc/makefile
index 93504e23e..8a889c94c 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -51,10 +51,7 @@ doc:
for i in $(shell ls po/*.po | sed -r 's#po/([a-z]+[A-Z_]*).po#\1#'); do \
test -d $$i || mkdir $$i; \
test -f $$i/makefile || sed "s#@@LANG@@#$$i#" lang.makefile > $$i/makefile; \
- done
- # it is likely that we have changed the list, so SUBDIRS is incorrect
- for dir in $(dir $(wildcard */makefile)); do\
- $(MAKE) -C $$dir $@; \
+ $(MAKE) -C $$i $@; \
done
clean: clean-subdirs
@@ -67,7 +64,7 @@ clean-subdirs:
veryclean-subdirs:
for dir in $(SUBDIRS); do\
- $(MAKE) -C $$dir veryclean; \
+ rm -rf $$dir; \
done
ifdef PO4A