btrfs-progs: make pretty Documentation/ build match the rest

This is the most important patch ever.  ;)

I found this to be less aesthetically pleasing than it was before:

     [CC]     btrfstune.o
 Making all in Documentation
     ASCIIDOC btrfs-convert.xml
     [LD]     btrfstune
     XMLTO btrfs-convert.8
     [CC]     btrfs-show-super.o
     GZIP btrfs-convert.8.gz
     [LD]     btrfs-show-super
     ASCIIDOC btrfs-debug-tree.xml
     XMLTO btrfs-debug-tree.8

so I shortened the pretty-text to match what we had before.

Also, make clean "quiet" like it is in the top dir.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
[Changed to ASCII and XMLTO]
Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
Eric Sandeen 2014-05-30 11:27:14 -05:00 committed by David Sterba
parent 6c30bee7aa
commit 350bb14bc6

View File

@ -54,9 +54,10 @@ BTRFS_VERSION = $(shell sed -n 's/.*BTRFS_BUILD_VERSION "Btrfs \(.*\)"/\1/p'\
ifneq ($(findstring $(MAKEFLAGS),s),s) ifneq ($(findstring $(MAKEFLAGS),s),s)
ifndef V ifndef V
QUIET_ASCIIDOC = @echo ' ' ASCIIDOC $@; QUIET_RM = @
QUIET_XMLTO = @echo ' ' XMLTO $@; QUIET_ASCIIDOC = @echo " [ASCII] $@";
QUIET_GZIP = @echo ' ' GZIP $@; QUIET_XMLTO = @echo " [XMLTO] $@";
QUIET_GZIP = @echo " [GZ] $@";
QUIET_STDERR = 2> /dev/null QUIET_STDERR = 2> /dev/null
QUIET_SUBDIR0 = +@subdir= QUIET_SUBDIR0 = +@subdir=
QUIET_SUBDIR1 = ;$(NO_SUBDIR) echo ' ' SUBDIR $$subdir; \ QUIET_SUBDIR1 = ;$(NO_SUBDIR) echo ' ' SUBDIR $$subdir; \
@ -77,7 +78,7 @@ install-man: man
$(LNS) btrfs-check.8.gz $(DESTDIR)$(man8dir)/btrfsck.8.gz $(LNS) btrfs-check.8.gz $(DESTDIR)$(man8dir)/btrfsck.8.gz
clean: clean:
$(RM) *.xml *.xml+ *.8 *.8.gz $(QUIET_RM)$(RM) *.xml *.xml+ *.8 *.8.gz
%.8.gz : %.8 %.8.gz : %.8
$(QUIET_GZIP)$(GZIPCMD) -n -c $< > $@ $(QUIET_GZIP)$(GZIPCMD) -n -c $< > $@