summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--Makefile9
2 files changed, 7 insertions, 3 deletions
diff --git a/HISTORY b/HISTORY
index 0066937..81dee19 100644
--- a/HISTORY
+++ b/HISTORY
@@ -91,3 +91,4 @@ ____-__-__: Version 0.3.5
- Moved to http://projects.vdr-developer.org/projects/show/plg-sudoku.
- Changed repository from subversion to git.
- Removed subversion keywords ($Id).
+- Added support for VDR >= 1.7.13 (Make.global).
diff --git a/Makefile b/Makefile
index 7ff5b4f..3b72070 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Sudoku: A plug-in for the Video Disk Recorder
#
-# Copyright (C) 2005-2007, Thomas Günther <tom@toms-cafe.de>
+# Copyright (C) 2005-2010, Thomas Günther <tom@toms-cafe.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -41,6 +41,10 @@ VDRDIR = ../../..
LIBDIR = ../../lib
TMPDIR = /tmp
+### Make sure that necessary options are included:
+
+-include $(VDRDIR)/Make.global
+
### Allow user defined options to overwrite defaults:
-include $(VDRDIR)/Make.config
@@ -111,8 +115,7 @@ dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)
@mkdir $(TMPDIR)/$(ARCHIVE)
@cp -a * $(TMPDIR)/$(ARCHIVE)
- @tar czf $(PACKAGE).tgz -C $(TMPDIR) \
- --exclude debian --exclude CVS --exclude .svn $(ARCHIVE)
+ @tar czf $(PACKAGE).tgz -C $(TMPDIR) --exclude debian $(ARCHIVE)
@-rm -rf $(TMPDIR)/$(ARCHIVE)
@echo Distribution package created as $(PACKAGE).tgz