summaryrefslogtreecommitdiff
path: root/Documentation/Makefile.in
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-02-03 14:56:06 +0100
committerDavid Sterba <dsterba@suse.cz>2015-02-03 16:03:28 +0100
commit52e65ab1210f0e71f61b3f82d7f0426ad048be8f (patch)
tree671194aaed72f6437f57a496b0daa8738ef25d0d /Documentation/Makefile.in
parentd90978c9ccec0d045a302cf689cb736ec5923266 (diff)
btrfs-progs: autoconf: use variable substitutions in doc makefile
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation/Makefile.in')
-rw-r--r--Documentation/Makefile.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/Makefile.in b/Documentation/Makefile.in
index 9466710c..5ae1fca6 100644
--- a/Documentation/Makefile.in
+++ b/Documentation/Makefile.in
@@ -54,9 +54,10 @@ XMLTO = xmlto
XMLTO_EXTRA =
XMLTO_EXTRA = -m manpage-bold-literal.xsl
GZIPCMD = gzip
-INSTALL ?= install
-RM ?= rm
-LN_S ?= ln -s
+INSTALL = @INSTALL@
+RM = @RM@
+RMDIR = @RMDIR@
+LN_S = @LN_S@
BTRFS_VERSION = $(shell sed -n 's/.*BTRFS_BUILD_VERSION "Btrfs \(.*\)"/\1/p'\
../version.h)
@@ -93,7 +94,7 @@ install-man: man
uninstall:
cd $(DESTDIR)$(man8dir); rm -f btrfs-check.8.gz $(GZ_MAN8)
- rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(man8dir)
+ $(RMDIR) -p --ignore-fail-on-non-empty $(DESTDIR)$(man8dir)
clean:
$(QUIET_RM)$(RM) -f *.xml *.xml+ *.5 *.5.gz *.8 *.8.gz