summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2013-01-24 17:32:52 -0600
committerDavid Sterba <dsterba@suse.cz>2013-01-26 12:32:24 +0100
commit69af4b4ee272ffcb1709aed47b08d7c41c6ac557 (patch)
treec35ee044cf53475738865f70256ff18456ba3148 /man
parent79e0e445fc2365e47fc7f060d5a4445d37e184b8 (diff)
downloadbtrfs-progs-69af4b4ee272ffcb1709aed47b08d7c41c6ac557.tar.gz
btrfs-progs-69af4b4ee272ffcb1709aed47b08d7c41c6ac557.tar.bz2
btrfs-progs-69af4b4ee272ffcb1709aed47b08d7c41c6ac557.zip
btrfs-progs pretty/quiet build
A quieter build makes warnings more obvious. This could probably be improved, but just to see if people like this or if they hate it. :) make V=1 overrides it and gets you the full glory again. [CC] ctree.o [CC] disk-io.o [CC] radix-tree.o [CC] extent-tree.o ... Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'man')
-rw-r--r--man/Makefile29
1 files changed, 11 insertions, 18 deletions
diff --git a/man/Makefile b/man/Makefile
index f7b57f75..fefbda97 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -6,31 +6,24 @@ bindir = $(prefix)/bin
mandir = $(prefix)/man
man8dir = $(mandir)/man8
+# clear out all suffixes
+.SUFFIXES:
+# list only those we use
+.SUFFIXES: .in .gz
+
MANPAGES = mkfs.btrfs.8.gz btrfsctl.8.gz btrfsck.8.gz btrfs-image.8.gz \
btrfs-show.8.gz btrfs.8.gz
+INFILES = ${MANPAGES:.in=.gz}
all: $(MANPAGES)
-mkfs.btrfs.8.gz: mkfs.btrfs.8.in
- $(GZIPCMD) -n -c mkfs.btrfs.8.in > mkfs.btrfs.8.gz
-
-btrfs.8.gz: btrfs.8.in
- $(GZIPCMD) -n -c btrfs.8.in > btrfs.8.gz
-
-btrfsctl.8.gz: btrfsctl.8.in
- $(GZIPCMD) -n -c btrfsctl.8.in > btrfsctl.8.gz
-
-btrfsck.8.gz: btrfsck.8.in
- $(GZIPCMD) -n -c btrfsck.8.in > btrfsck.8.gz
-
-btrfs-image.8.gz: btrfs-image.8.in
- $(GZIPCMD) -n -c btrfs-image.8.in > btrfs-image.8.gz
-
-btrfs-show.8.gz: btrfs-show.8.in
- $(GZIPCMD) -n -c btrfs-show.8.in > btrfs-show.8.gz
+.in.gz :
+ @echo " [MAN] $@"
+ $(Q)$(GZIPCMD) -n -c $< > $@
clean :
- rm -f $(MANPAGES)
+ @echo "Cleaning manpages"
+ $(Q)rm -f $(MANPAGES)
install: $(MANPAGES)
$(INSTALL) -m755 -d $(DESTDIR)$(man8dir)