public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [btrfs-progs 4/4] Modify Makefile to include man directory
@ 2009-01-13 12:51 Goldwyn Rodrigues
  0 siblings, 0 replies; only message in thread
From: Goldwyn Rodrigues @ 2009-01-13 12:51 UTC (permalink / raw)
  To: linux-btrfs

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@gmail.com>
---
 Makefile |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 3349079..8f21c27 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ endif
 	$(CC) $(DEPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c $<
 
 
-all: version $(progs)
+all: version $(progs) manpages
 
 version:
 	bash version.sh
@@ -68,10 +68,17 @@ quick-test: $(objects) quick-test.o
 convert: $(objects) convert.o
 	gcc $(CFLAGS) -o btrfs-convert $(objects) convert.o -lext2fs $(LDFLAGS) $(LIBS)
 
+manpages:
+	cd man; make
+
+install-man:
+	cd man; make install
+
 clean :
 	rm -f $(progs) cscope.out *.o .*.d btrfs-convert
+	cd man; make clean
 
-install: $(progs)
+install: $(progs) install-man
 	$(INSTALL) -m755 -d $(DESTDIR)$(bindir)
 	$(INSTALL) $(progs) $(DESTDIR)$(bindir)
 	if [ -e btrfs-convert ]; then $(INSTALL) btrfs-convert $(DESTDIR)$(bindir); fi
-- 
1.6.0.2


-- 
Goldwyn

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-13 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13 12:51 [btrfs-progs 4/4] Modify Makefile to include man directory Goldwyn Rodrigues

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox