DORMANTno replies

[PATCH] release tarball make targets

From: Mark Allen <hidden>
Date: 2016-06-15 22:41:56

This patch is to support automating RPM and spec file generation.

Cheers,

--Mark

Signed-off-by: Mark Allen <redacted>

Index: Makefile
===================================================================
--- aa6233be6d1b8bf42797c409a7c23b50593afc99/Makefile  (mode:100644
sha1:6ae0afa0208a8f755d383281a6d049a4ef90fe63)
+++ uncommitted/Makefile  (mode:100644 sha1:181aa6d6c34fb771671a7ee8038f9cf18972713a)
@@ -55,6 +55,10 @@
 
 VERSION= VERSION
 
+DIRS=mozilla-sha1 contrib ppc
+
+DOCS=README README.reference
+
 LIB_OBJS=read-cache.o sha1_file.o usage.o object.o commit.o tree.o blob.o \
 	 tag.o date.o
 LIB_FILE=libgit.a
@@ -136,3 +140,11 @@
 
 backup: clean
 	cd .. ; tar czvf dircache.tar.gz dir-cache
+
+release-tar-gzip: clean
+	tar czf $(shell cat $(VERSION)).tar.gz *.c *.h git.spec Makefile $(DOCS) $(DIRS)
$(SCRIPTS) $(SCRIPT) 
+
+release-tar-bzip2: clean
+	tar cjf $(shell cat $(VERSION)).tar.bz2 *.c *.h git.spec Makefile $(DOCS) $(DIRS)
$(SCRIPTS) $(SCRIPT) 
+
+release-tarballs: release-tar-gzip release-tar-bzip2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help