diff mbox

[2/3] Btrfs-progs Add make archive

Message ID 1358875326-28636-3-git-send-email-gene@czarc.net (mailing list archive)
State New, archived
Headers show

Commit Message

Gene Czarcinski Jan. 22, 2013, 5:22 p.m. UTC
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 <gene@czarc.net>
---
 Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Mike Fleetwood Jan. 22, 2013, 9:52 p.m. UTC | #1
On 22 January 2013 17:22, Gene Czarcinski <gene@czarc.net> wrote:
> 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

I think you mean btrfs-progs.spec without the .in as that's the generated file.

> make clean.
> Signed-off-by: Gene Czarcinski <gene@czarc.net>
> ---
>  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

Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Gene Czarcinski Jan. 23, 2013, 3:03 p.m. UTC | #2
On 01/22/2013 04:52 PM, Mike Fleetwood wrote:
> On 22 January 2013 17:22, Gene Czarcinski<gene@czarc.net>  wrote:
>> >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
> I think you mean btrfs-progs.spec without the .in as that's the generated file.
>
You are correct.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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