2009-01-21 18:22:49 +00:00
|
|
|
GZIP=gzip
|
|
|
|
INSTALL= install
|
|
|
|
|
|
|
|
prefix ?= /usr/local
|
|
|
|
bindir = $(prefix)/bin
|
|
|
|
mandir = $(prefix)/man
|
|
|
|
man8dir = $(mandir)/man8
|
|
|
|
|
2009-06-03 16:00:20 +00:00
|
|
|
MANPAGES = mkfs.btrfs.8.gz btrfsctl.8.gz btrfsck.8.gz btrfs-image.8.gz \
|
2010-01-24 17:00:05 +00:00
|
|
|
btrfs-show.8.gz btrfs.8.gz
|
2009-01-21 18:22:49 +00:00
|
|
|
|
|
|
|
all: $(MANPAGES)
|
|
|
|
|
|
|
|
mkfs.btrfs.8.gz: mkfs.btrfs.8.in
|
|
|
|
$(GZIP) -n -c mkfs.btrfs.8.in > mkfs.btrfs.8.gz
|
|
|
|
|
2010-01-24 17:00:05 +00:00
|
|
|
btrfs.8.gz: btrfs.8.in
|
|
|
|
$(GZIP) -n -c btrfs.8.in > btrfs.8.gz
|
|
|
|
|
2009-01-21 18:22:49 +00:00
|
|
|
btrfsctl.8.gz: btrfsctl.8.in
|
|
|
|
$(GZIP) -n -c btrfsctl.8.in > btrfsctl.8.gz
|
|
|
|
|
|
|
|
btrfsck.8.gz: btrfsck.8.in
|
|
|
|
$(GZIP) -n -c btrfsck.8.in > btrfsck.8.gz
|
|
|
|
|
2009-06-03 16:00:20 +00:00
|
|
|
btrfs-image.8.gz: btrfs-image.8.in
|
|
|
|
$(GZIP) -n -c btrfs-image.8.in > btrfs-image.8.gz
|
|
|
|
|
2009-06-03 16:00:20 +00:00
|
|
|
btrfs-show.8.gz: btrfs-show.8.in
|
|
|
|
$(GZIP) -n -c btrfs-show.8.in > btrfs-show.8.gz
|
|
|
|
|
2009-01-21 18:22:49 +00:00
|
|
|
clean :
|
|
|
|
rm -f $(MANPAGES)
|
|
|
|
|
|
|
|
install: $(MANPAGES)
|
|
|
|
$(INSTALL) -m755 -d $(DESTDIR)$(man8dir)
|
|
|
|
$(INSTALL) -m 644 $(MANPAGES) $(DESTDIR)$(man8dir)
|