btrfs-progs: make pretty Documentation/ build match the rest
authorEric Sandeen <sandeen@redhat.com>
Fri, 30 May 2014 16:27:14 +0000 (11:27 -0500)
committerDavid Sterba <dsterba@suse.cz>
Fri, 22 Aug 2014 12:39:33 +0000 (14:39 +0200)
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>
Documentation/Makefile

index 51f618a..0ff81da 100644 (file)
@@ -54,9 +54,10 @@ BTRFS_VERSION = $(shell sed -n 's/.*BTRFS_BUILD_VERSION "Btrfs \(.*\)"/\1/p'\
 
 ifneq ($(findstring $(MAKEFLAGS),s),s)
 ifndef V
-       QUIET_ASCIIDOC  = @echo '   ' ASCIIDOC $@;
-       QUIET_XMLTO     = @echo '   ' XMLTO $@;
-       QUIET_GZIP      = @echo '   ' GZIP $@;
+       QUIET_RM        = @
+       QUIET_ASCIIDOC  = @echo "    [ASCII]  $@";
+       QUIET_XMLTO     = @echo "    [XMLTO]  $@";
+       QUIET_GZIP      = @echo "    [GZ]     $@";
        QUIET_STDERR    = 2> /dev/null
        QUIET_SUBDIR0   = +@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
 
 clean:
-       $(RM) *.xml *.xml+ *.8 *.8.gz
+       $(QUIET_RM)$(RM) *.xml *.xml+ *.8 *.8.gz
 
 %.8.gz : %.8
        $(QUIET_GZIP)$(GZIPCMD) -n -c $< > $@