← easystroke

Remove unused snapshot and release targets from Makefile

3fe9e410449155fa466d5cb3d06285055f224bb0 · Thomas Jaeger · Aug 15, 2011 03:47

+1 −13 · 1 file changed

  • Makefile +1 −13
diff --git a/Makefile b/Makefile
index 1f6a52b..d3850db 100644
--- a/Makefile
+++ b/Makefile
@@ -45,13 +45,12 @@ GZFILES  = $(wildcard *.gz)
 VERSION  = $(shell test -e debian/changelog && grep '(.*)' debian/changelog | sed 's/.*(//' | sed 's/).*//' | head -n1 || (test -e version && cat version || git describe))
 GIT      = $(wildcard .git/index version)
 DIST     = easystroke-$(VERSION)
-ARCH     = $(shell uname -m)
 
 -include debug.mk
 
 all: $(BINARY) $(MOFILES)
 
-.PHONY: all clean snapshot release translate update-translations compile-translations
+.PHONY: all clean translate update-translations compile-translations
 
 clean:
 	$(RM) $(OFILES) $(BINARY) $(GENFILES) $(DEPFILES) $(MANPAGE) $(GZFILES) po/*.pot
@@ -130,13 +129,8 @@ uninstall:
 		$(RM) `echo $$f | sed "s|^po/|$(DESTDIR)$(LOCALEDIR)/|"`; \
 	done
 
-snapshot: $(DIST)_$(ARCH).tar.gz
-
 tarball: $(DIST).tar.gz
 
-release: $(DIST).tar.gz
-	rsync -avP $(DIST).tar.gz thjaeger@frs.sourceforge.net:uploads/
-
 tmp/$(DIST): $(GIT)
 	$(RM) -r tmp
 	mkdir tmp
@@ -144,12 +138,6 @@ tmp/$(DIST): $(GIT)
 	echo $(VERSION) > $@/version
 	$(RM) $@/.gitignore $@/release
 
-$(DIST)_$(ARCH).tar.gz: tmp/$(DIST)
-	$(MAKE) -j2 -C $<
-	strip -s $</easystroke
-	tar -czf $@ -C $< easystroke
-	$(RM) -r tmp
-
 $(DIST).tar.gz: tmp/$(DIST)
 	tar -czf $@ -C tmp/ $(DIST)
 	$(RM) -r tmp