From bf2e1469fb12e6af25c8e23a93026536ba469534 Mon Sep 17 00:00:00 2001 From: svntobi Date: Sat, 25 Aug 2007 18:50:58 +0000 Subject: added release target to makefile git-svn-id: file:///home/tobias/sandbox/vdr/--/vdr-pkg/vdr-pkg/menuorg/trunk@5985 cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 845867f..1d1f113 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,8 @@ # PLUGIN = menuorg +SVNROPOOT ?= svn+e-tobi://e-tobi.net/menuorg + ### The version number of this plugin (taken from the main source file): VERSION = $(shell grep 'static const char VERSION\[\] =' src/version.h | \ @@ -113,6 +115,9 @@ dist: clean --exclude .svn --exclude tools $(ARCHIVE) @-rm -rf $(TMPDIR)/$(ARCHIVE) @echo Distribution package created as $(PACKAGE).tar.gz + +release: dist + @svn cp -m"release $(VERSION)" $(SVNROOT)/trunk $(SVNROOT)/tags/$(VERSION) clean: @-rm -f $(BUILD_DEPFILE) $(TESTS_DEPFILE) *.so* *.tar.gz core* *~ -- cgit v1.2.3