[hackers] [sinit] Add dist target to Makefile || sin

From: <git_AT_suckless.org>
Date: Wed, 23 Apr 2014 11:02:29 +0200

commit f9d6142c2b0db777246559e4cf1a87afb5ab279d
Author: sin <sin_AT_2f30.org>
Date: Tue Apr 22 11:53:58 2014 +0100

    Add dist target to Makefile

diff --git a/Makefile b/Makefile
index 6f85121..dbbc57b 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -32,6 +32,15 @@ config.h:
         _AT_echo CC $<
         _AT_$(CC) -c -o $@ $< $(CFLAGS)
 
+dist: clean
+ _AT_echo creating dist tarball
+ _AT_mkdir -p tabbed-$(VERSION)
+ _AT_cp LICENSE Makefile README config.def.h config.mk sinit.c \
+ tabbed-$(VERSION)
+ _AT_tar -cf tabbed-$(VERSION).tar tabbed-$(VERSION)
+ _AT_gzip tabbed-$(VERSION).tar
+ _AT_rm -rf tabbed-$(VERSION)
+
 install: all
         _AT_echo installing executable to $(DESTDIR)$(PREFIX)/bin
         _AT_mkdir -p $(DESTDIR)$(PREFIX)/bin
Received on Wed Apr 23 2014 - 11:02:29 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 23 2014 - 11:12:07 CEST