diff options
author | Brendan O'Dea <bod@debian.org> | 2012-04-08 23:15:02 +1000 |
---|---|---|
committer | Brendan O'Dea <bod@debian.org> | 2012-04-08 23:15:02 +1000 |
commit | 4efbcca2dc796a5f9bf2797905fc9e6bee6a6afc (patch) | |
tree | 91ef921b5b2eaa1eac72c55415dec0d1d83a15cc /Makefile.in | |
parent | c9e0d0dfa0d7afd08269c929ed27ee9587bc55f0 (diff) | |
download | help2man-4efbcca2dc796a5f9bf2797905fc9e6bee6a6afc.tar.gz |
Modify self-extracting scripts to output to a temporary file
Ensure that help2man exists before building manual pages
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index 74be6fc..84faf44 100644 --- a/Makefile.in +++ b/Makefile.in @@ -88,7 +88,7 @@ uninstall: fi clean: - -rm -f $(target) $(target).h2m $(target).*.h2m $(preload).so + -rm -f $(target) $(target).h2m $(target).*.h2m $(preload).so *.tmp[0-9]* -rm -rf localetmp mostlyclean: clean @@ -117,7 +117,7 @@ $(preload).so: $(srcdir)/$(preload).c man: $(target).1 $(target).1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m.PL - $(MAKE) $(target).h2m + $(MAKE) $(target) $(target).h2m ./$(target) --include=$(target).h2m --output=$@ ./$(target) msg_l10n: $(addprefix po/,$(addsuffix .gmo,$(LINGUAS))) @@ -134,8 +134,8 @@ man_l10n: $(addprefix $(target).,$(addsuffix .1,$(LINGUAS))) $(target).%.1: $(srcdir)/$(target).PL $(srcdir)/$(target).h2m.PL \ $(srcdir)/po/%.po lang=$(patsubst $(target).%.1,%,$@); \ - $(MAKE) $(preload).so localetmp/$$lang/LC_MESSAGES/$(target).mo \ - $(target).$$lang.h2m; \ + $(MAKE) $(target) $(preload).so \ + localetmp/$$lang/LC_MESSAGES/$(target).mo $(target).$$lang.h2m; \ LD_PRELOAD=./$(preload).so LOCALEDIR=localetmp TEXTDOMAIN=help2man \ ./$(target) --include=$(call vpath_file,$(target).$$lang.h2m) \ --output=$@ ./$(target) |