summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-01-30 15:32:17 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-01-30 15:32:17 +0000
commit73039610c77dff30efb69cb150163974a5a175e2 (patch)
tree68be18483a60547d04eff2f527a3581bb1d0c81e
parent6c489498022fb5469e18d4890fe252497a97cef7 (diff)
downloadhelp2man-73039610c77dff30efb69cb150163974a5a175e2.tar.gz
Makefile.in: make rules that use help2man depend on help2man
It is not strictly parallel buildable unless this is done as it could start to build the documentation before help2man has been made. On serial builds this works because help2man is listed before man and info
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 74be6fc..2307304 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -116,7 +116,7 @@ $(preload).so: $(srcdir)/$(preload).c
$(CC) $(CFLAGS) -o $@ -fPIC -shared $? $(LIBS)
man: $(target).1
-$(target).1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m.PL
+$(target).1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m.PL $(target)
$(MAKE) $(target).h2m
./$(target) --include=$(target).h2m --output=$@ ./$(target)
@@ -132,7 +132,7 @@ localetmp/%/LC_MESSAGES/$(target).mo: po/%.gmo
man_l10n: $(addprefix $(target).,$(addsuffix .1,$(LINGUAS)))
$(target).%.1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m.PL \
- $(srcdir)/po/%.po
+ $(srcdir)/po/%.po $(target)
lang=$(patsubst $(target).%.1,%,$@); \
$(MAKE) $(preload).so localetmp/$$lang/LC_MESSAGES/$(target).mo \
$(target).$$lang.h2m; \