diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-11-02 14:37:02 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-11-02 14:37:02 +0100 |
commit | e0aef8cf1275cc988007fcb2a099cdd9f92fa374 (patch) | |
tree | 6cd38a3129a04a5c27ffbd258a17b103101f6aca /Makefile | |
parent | 538baaef6e22f1ecb2fb9d6035a6992e22c89ed4 (diff) | |
download | mpv-e0aef8cf1275cc988007fcb2a099cdd9f92fa374.tar.bz2 mpv-e0aef8cf1275cc988007fcb2a099cdd9f92fa374.tar.xz |
configure: detect rst2man binary name
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -326,7 +326,7 @@ endif all: $(ALL_PRG-yes) locales %.1: %.rst - rst2man $< $@ + $(RST2MAN) $< $@ %.o: %.S $(CC) $(DEPFLAGS) $(CFLAGS) -c -o $@ $< @@ -414,7 +414,7 @@ osdep/mpv-rc.o: osdep/mpv.exe.manifest ###### installation / clean / generic rules ####### check_rst2man: - @which rst2man > /dev/null 2>&1 || (printf "\n\trst2man not found. You need the docutils (>= 0.7) to generate the manpages. Alternatively you can use 'install-no-man' rule.\n\n" && exit 1) + @which $(RST2MAN) > /dev/null 2>&1 || (printf "\n\trst2man not found. You need the docutils (>= 0.7) to generate the manpages. Alternatively you can use 'install-no-man' rule.\n\n" && exit 1) install: $(INSTALL_TARGETS-yes) |