diff options
author | David Sterba <dsterba@suse.cz> | 2015-02-03 15:38:17 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-02-03 16:06:52 +0100 |
commit | e1f0d9d4467a4025cada0443cecc0f9973eee145 (patch) | |
tree | 1eb446fb932a3c9a183ec85fb5abb46b6cd39098 /Documentation | |
parent | 505669320b1d03c9b15fd32b8480e1ca7ac89a58 (diff) |
btrfs-progs: autoconf: detect tools to build docs
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/Makefile.in | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Documentation/Makefile.in b/Documentation/Makefile.in index 1f83685b..cb09e2a8 100644 --- a/Documentation/Makefile.in +++ b/Documentation/Makefile.in @@ -47,18 +47,20 @@ mandir ?= $(prefix)/share/man man8dir = $(mandir)/man8 man5dir = $(mandir)/man5 -ASCIIDOC = asciidoc +ASCIIDOC = @ASCIIDOC@ ASCIIDOC_EXTRA = MANPAGE_XSL = manpage-normal.xsl -XMLTO = xmlto +XMLTO = @XMLTO@ XMLTO_EXTRA = XMLTO_EXTRA = -m manpage-bold-literal.xsl -GZIPCMD = gzip +GZIPCMD = @GZIP@ INSTALL = @INSTALL@ RM = @RM@ RMDIR = @RMDIR@ LN_S = @LN_S@ -BTRFS_VERSION = $(shell sed -n 's/.*PACKAGE_VERSION "\(.*\)"/\1/p'\ +MV = @MV@ +SED = @SED@ +BTRFS_VERSION = $(shell $(SED) -n 's/.*PACKAGE_VERSION "\(.*\)"/\1/p'\ ../config.h) ifneq ($(findstring $(MAKEFLAGS),s),s) @@ -88,7 +90,7 @@ install-man: man $(INSTALL) -m 644 $(GZ_MAN5) $(DESTDIR)$(man5dir) # the source file name of btrfs.5 clashes with section 8 page, but we # want to keep the code generic - mv $(DESTDIR)$(man5dir)/btrfs-mount.5.gz $(DESTDIR)$(man5dir)/btrfs.5.gz + $(MV) $(DESTDIR)$(man5dir)/btrfs-mount.5.gz $(DESTDIR)$(man5dir)/btrfs.5.gz $(INSTALL) -m 644 $(GZ_MAN8) $(DESTDIR)$(man8dir) $(LN_S) -f btrfs-check.8.gz $(DESTDIR)$(man8dir)/btrfsck.8.gz @@ -118,4 +120,4 @@ clean: $(ASCIIDOC) -b docbook -d manpage -f asciidoc.conf \ $(ASCIIDOC_EXTRA) -abtrfs_version=$(BTRFS_VERSION) \ -o $@+ $< && \ - mv $@+ $@ + $(MV) $@+ $@ |