summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2005-06-01 13:09:21 +0200
committerAndreas Mair <amair.sob@googlemail.com>2005-06-01 13:09:21 +0200
commitd6922e850779c4ff9d8bcbcef9842cf333eb8638 (patch)
tree8b6c0aa816b00ad4a83a30b1241a73ef6b57fcb2 /Makefile
parentbebe0382652e0616c8d040b3e217c2a21b81beee (diff)
downloadvdradmin-am-0.97-am3.3pre.tar.gz
vdradmin-am-0.97-am3.3pre.tar.bz2
2005-06-01: 0.97-am3.3prev0.97-am3.3pre
- Allow browsers to cache all files VDRAdmin sends, except "text/html". This should speed up VDRAdmin but changing the skin or css needs a "shift reload". - Added support for VDR v1.3.25's recording info (Submitted by vejoun). - New config option for the number of columns to display in prog_summary. - Use localized date formates. - Now using "video/x-mpegurl" MIME type instead of "audio/x-mpegurl" for streaming (Suggested by stefan.h). - Added patches supplied by stefan.h: -> using EPG's subtitle when found for AutoTimer else " " (thaht's the VDR way). -> New config option VDRVFAT to find recordings if VDR has been compiled with or without VFAT define. - Fixed calling reccmds on recordings in subdirs, manual recordings (@rectitle) and repeating timer's recordings without episode title. - Fixed streaming of manual recordings (@rectitle) and repeating timer's recordings without episode title. - VDRAdmin-AM now uses the required charsets setting in templates, so no need to write "&xyz;" things in .po files. - Reworked templates to make better use of CSS (for example: timeline colours can be set by style.css). - EPG_PRUNE now is the number of channels to fetch from VDR (had been one too less before). - Added "install.sh" and "uninstall.sh" ("./install.sh -h" for help) (Requested by several people). - Made "name" columns in lists wrapping again (Reported by vejoun). - Deleting a single recording works again (Reported by vejoun). - Fixed streaming of recordings in subdirs (Reported by vejoun). - Added missing gray sign on deactivated AutoTimers (Reported by vejoun).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile56
1 files changed, 2 insertions, 54 deletions
diff --git a/Makefile b/Makefile
index 166df9d..d97bbef 100644
--- a/Makefile
+++ b/Makefile
@@ -26,60 +26,8 @@ distclean: clean
rm -f vdradmind.conf vdradmind.at vdradmind.bl vdradmind.done vdradmind.pid vdradmind.log
install:
- @if [ ! -d $(DESTDIR)$(BINDIR) ]; then \
- mkdir -p $(DESTDIR)$(BINDIR); \
- fi
- sed -e "s/^my \$$SEARCH_FILES_IN_SYSTEM = 0;/my \$$SEARCH_FILES_IN_SYSTEM = 1;/" < vdradmind.pl > $(DESTDIR)$(BINDIR)/vdradmind.pl
- chmod a+x $(DESTDIR)$(BINDIR)/vdradmind.pl
- @if [ ! -d $(DESTDIR)$(LIBDIR) ]; then \
- mkdir -p $(DESTDIR)$(LIBDIR); \
- fi
- cp -r template lib $(DESTDIR)$(LIBDIR)
- @if [ ! -d $(DESTDIR)$(ETCDIR) ]; then \
- mkdir -p $(DESTDIR)$(ETCDIR); \
- fi
- @if [ ! -d $(MANDIR) ]; then \
- mkdir -p $(MANDIR); \
- fi
- cp vdradmind.pl.1 $(MANDIR)
- @if [ ! -d $(DESTDIR)$(DOCDIR) ]; then \
- mkdir -p $(DESTDIR)$(DOCDIR); \
- fi
- cp -r COPYING HISTORY* README* INSTALL contrib $(DESTDIR)$(DOCDIR)
- for lang in $(LANGS); do \
- [ ! -d $(LOCDIR)/$$lang/LC_MESSAGES/ ] && mkdir -p $(LOCDIR)/$$lang/LC_MESSAGES/; \
- install -m 644 po/$$lang.mo $(LOCDIR)/$$lang/LC_MESSAGES/vdradmin.mo; \
- done
+ @./install.sh -c
uninstall:
- if [ "$$(pidof -x vdradmind.pl)" ]; then \
- killall vdradmind.pl; \
- fi
- if [ -d $(DESTDIR)$(DOCDIR) ]; then \
- rm -rf $(DESTDIR)$(DOCDIR); \
- fi
- if [ -d $(DESTDIR)$(LIBDIR) ]; then \
- rm -rf $(DESTDIR)$(LIBDIR); \
- fi
- if [ -e $(MANDIR)/vdradmind.pl.1 ]; then \
- rm -f $(MANDIR)/vdradmind.pl.1; \
- fi
- if [ -e $(DESTDIR)$(BINDIR)/vdradmind.pl ]; then \
- rm -f $(DESTDIR)$(BINDIR)/vdradmind.pl; \
- fi
- for lang in $(LANGS); do \
- if [ -e $(LOCDIR)/$$lang/LC_MESSAGES/vdradmin.mo ]; then \
- rm -f $(LOCDIR)/$$lang/LC_MESSAGES/vdradmin.mo; \
- fi; \
- done
- @echo ""
- @echo ""
- @echo "******************************"
- @echo "VDRAdmin has been uninstalled!"
- @echo ""
- @if [ -d $(DESTDIR)$(ETCDIR) ]; then \
- echo ""; \
- echo "Your configuration files located in $(DESTDIR)$(ETCDIR) have NOT been deleted!"; \
- echo "If you want to get rid of them, please delete them manually!"; \
- fi
+ @./uninstall.sh