This adds the archive target to the Makefile which simply executes
do-archive.sh.  It also adds the remove of btrfs-progs.spec.in to
make clean.
Signed-off-by: Gene Czarcinski <[email protected]>
---
 Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d524f69..6812258 100644
--- a/Makefile
+++ b/Makefile
@@ -111,9 +111,13 @@ manpages:
 install-man:
        cd man; $(MAKE) install
 
+archive:
+       bash do-archive.sh
+
 clean :
        rm -f $(progs) cscope.out *.o .*.d btrfs-convert btrfs-image 
btrfs-select-super \
-             btrfs-zero-log btrfstune dir-test ioctl-test quick-test version.h
+             btrfs-zero-log btrfstune dir-test ioctl-test quick-test version.h 
\
+             btrfs-progs.spec
        cd man; $(MAKE) clean
 
 install: $(progs) install-man
-- 
1.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to