diff options
| author | Antti Ajanki <antti.ajanki@iki.fi> | 2010-11-06 10:16:24 +0200 |
|---|---|---|
| committer | Antti Ajanki <antti.ajanki@iki.fi> | 2010-11-06 10:16:24 +0200 |
| commit | 07c8a157c31ed5221b4fd325058eb1d3fa579c33 (patch) | |
| tree | 70f8b4b7ad06c3109b18cd5339bb34c2404e5b0b /Makefile | |
| parent | 695fb343a927261f06d4f62ed029192b88f0b4da (diff) | |
| download | vdr-plugin-webvideo-07c8a157c31ed5221b4fd325058eb1d3fa579c33.tar.gz vdr-plugin-webvideo-07c8a157c31ed5221b4fd325058eb1d3fa579c33.tar.bz2 | |
update template paths on in timer files, remove old templates on upgrade
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -50,7 +50,7 @@ install-vdr-plugin: $(DESTDIR)$(VDRPLUGINDIR)/libvdr-webvideo.so.$(APIVERSION) install-libwebvi: libwebvi $(MAKE) -C src/libwebvi install -install-python: +install-python: uninstall-deprecated-templates python setup.py install --skip-build --prefix $(PREFIX) $${DESTDIR:+--root $(DESTDIR)} install-conf: webvi.conf webvi.plugin.conf @@ -63,6 +63,19 @@ install-webvi: install-libwebvi install-python install: install-vdr-plugin install-webvi install-conf +# Template directories were renamed in 0.3.3. Remove old templates. +uninstall-deprecated-templates: + rm -rf $(DESTDIR)$(PREFIX)/share/webvi/templates/youtube + rm -rf $(DESTDIR)$(PREFIX)/share/webvi/templates/svtplay + rm -rf $(DESTDIR)$(PREFIX)/share/webvi/templates/moontv + rm -rf $(DESTDIR)$(PREFIX)/share/webvi/templates/metacafe + rm -rf $(DESTDIR)$(PREFIX)/share/webvi/templates/vimeo + rm -rf $(DESTDIR)$(PREFIX)/share/webvi/templates/katsomo + rm -rf $(DESTDIR)$(PREFIX)/share/webvi/templates/subtv + rm -rf $(DESTDIR)$(PREFIX)/share/webvi/templates/ruutufi + rm -rf $(DESTDIR)$(PREFIX)/share/webvi/templates/google + rm -rf $(DESTDIR)$(PREFIX)/share/webvi/templates/yleareena + dist: clean @-rm -rf $(TMPDIR)/$(ARCHIVE) @mkdir $(TMPDIR)/$(ARCHIVE) |
