[stgt] [PATCH] remove 'make tarball' feature in Makefile

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Oct 7 01:18:52 CEST 2009


It doesn't work well and it's not useful much since distribution
package systems has the feature.

Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
---
 Makefile |   19 +------------------
 1 files changed, 1 insertions(+), 18 deletions(-)

diff --git a/Makefile b/Makefile
index dbdda22..2cfae63 100644
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,6 @@ VERSION ?= 0.9.9
 # Define a common prefix where binaries and docs install
 PREFIX ?= /usr
 
-# This tarball is generated by "make tarball", see below
-TARBALL = tgt-$(VERSION).tar.bz2
-
 # Export VERSION and PREFIX so sub-make knows about them
 export VERSION PREFIX
 
@@ -63,19 +60,5 @@ clean-conf:
 .PHONY: install
 install: install-programs install-doc install-conf install-scripts
 
-$(TARBALL): clean
-	tar -cjf $@ \
-		--transform 's,^,tgt-$(VERSION)/,' \
-		--exclude=*~ \
-		--exclude=.git \
-		--exclude=*.in *
-
-.PHONY: tarball
-tarball: $(TARBALL)
-
-.PHONY: clean-tarball
-clean-tarball:
-	rm -f $(TARBALL)
-
 .PHONY: clean
-clean: clean-programs clean-doc clean-conf clean-scripts clean-tarball
+clean: clean-programs clean-doc clean-conf clean-scripts
-- 
1.6.0.6

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



More information about the stgt mailing list