diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-12 15:12:12 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-12 15:12:12 +0200 |
commit | bbddf7e2dbc855e1abc05c748c7c16ccf7a00ca5 (patch) | |
tree | 499ff5746fbf6bb69719d8171e59787d72e4face /PLUGINS/src | |
parent | 2cc450a67cd8c5bef3f0b568735e5bb7efde660a (diff) | |
download | vdr-bbddf7e2dbc855e1abc05c748c7c16ccf7a00ca5.tar.gz vdr-bbddf7e2dbc855e1abc05c748c7c16ccf7a00ca5.tar.bz2 |
Plugin packages now expand into a dir with only the name and version number
Diffstat (limited to 'PLUGINS/src')
-rw-r--r-- | PLUGINS/src/hello/HISTORY | 1 | ||||
-rw-r--r-- | PLUGINS/src/hello/Makefile | 9 |
2 files changed, 6 insertions, 4 deletions
diff --git a/PLUGINS/src/hello/HISTORY b/PLUGINS/src/hello/HISTORY index 31b668e8..4df316fd 100644 --- a/PLUGINS/src/hello/HISTORY +++ b/PLUGINS/src/hello/HISTORY @@ -13,3 +13,4 @@ VDR Plugin 'hello' Revision History - Changed return type of cPluginHello::Start(). - Added cPluginHello::Housekeeping(). +- Modified package generation. diff --git a/PLUGINS/src/hello/Makefile b/PLUGINS/src/hello/Makefile index fb764cdc..fbd74508 100644 --- a/PLUGINS/src/hello/Makefile +++ b/PLUGINS/src/hello/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.1 2002/05/09 15:17:44 kls Exp $ +# $Id: Makefile 1.2 2002/05/12 15:09:07 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -27,7 +27,8 @@ VDRVERSION = `grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' ### The name of the distribution archive: -ARCHIVE = vdr-$(PLUGIN)-$(VERSION) +ARCHIVE = $(PLUGIN)-$(VERSION) +PACKAGE = vdr-$(ARCHIVE) ### Includes and Defines (add further entries here): @@ -70,9 +71,9 @@ package: clean @-rm -rf $(TMPDIR)/$(ARCHIVE) @mkdir $(TMPDIR)/$(ARCHIVE) @cp -a * $(TMPDIR)/$(ARCHIVE) - @tar czf $(ARCHIVE).tgz -C $(TMPDIR) $(ARCHIVE) + @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE) @-rm -rf $(TMPDIR)/$(ARCHIVE) - @echo Distribution archive created as $(ARCHIVE).tgz + @echo Distribution package created as $(PACKAGE).tgz clean: @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ |