diff options
author | 2006-03-15 21:29:47 +0000 | |
---|---|---|
committer | 2006-03-15 21:29:47 +0000 | |
commit | c804dcfa23c535eb3fc95358bbf74187a4123f2a (patch) | |
tree | 4a0d38e59ec3b15158258d42cd69ac6bdec77018 /Makefile | |
parent | set to higher warn level in skip_plugin, on suggestion by M.Guenther (diff) | |
download | gentoo-vdr-scripts-c804dcfa23c535eb3fc95358bbf74187a4123f2a.tar.gz gentoo-vdr-scripts-c804dcfa23c535eb3fc95358bbf74187a4123f2a.tar.bz2 gentoo-vdr-scripts-c804dcfa23c535eb3fc95358bbf74187a4123f2a.zip |
added packaging make-target dist
svn path=/gentoo-vdr-scripts/trunk/; revision=200
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -3,6 +3,18 @@ all: @echo nothing to compile +VERSION = $(shell grep '^Version' README | awk '{ print $$2 }') +TMPDIR = /tmp +ARCHIVE = gentoo-vdr-scripts-$(VERSION) +PACKAGE = $(ARCHIVE) + +dist: + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @svn export . $(TMPDIR)/$(ARCHIVE) + @tar cjf $(PACKAGE).tar.bz2 -C $(TMPDIR) $(ARCHIVE) + @-rm -rf $(TMPDIR)/$(ARCHIVE) + @echo Distribution package created as $(PACKAGE).tar.bz2 + install: mkdir -p $(DESTDIR)/etc/conf.d mkdir -p $(DESTDIR)/etc/init.d |