From 1f4c5de1370cacfb1b514d833860c372c3ff3767 Mon Sep 17 00:00:00 2001 From: thlo Date: Sat, 26 Apr 2014 10:09:49 +0200 Subject: Fixes --- Makefile | 10 +++++----- Makefile.new | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 6eb90ea..f80b96c 100755 --- a/Makefile +++ b/Makefile @@ -106,13 +106,13 @@ $(SOFILE): $(OBJS) $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ install-lib: $(SOFILE) + @echo "Installing conf in "$(DESTDIR)$(CONFDIR)/plugins/smarttvweb; @if [ ! -d $(DESTDIR)$(CONFDIR)/plugins/smarttvweb ]; then \ - @echo "Creating plugin conf dir in "$(DESTDIR)$(CONFDIR); \ mkdir -p $(DESTDIR)$(CONFDIR)/plugins/smarttvweb; \ - cp widget.conf $(DESTDIR)$(CONFDIR)/smarttvweb; \ - cp -r web/ $(DESTDIR)$(CONFDIR)/smarttvweb; \ - cp smarttvweb.conf $(DESTDIR)$(CONFDIR)/smarttvweb; \ - chown -R vdr:vdr $(DESTDIR)$(CONFDIR)/smarttvweb; \ + cp widget.conf $(DESTDIR)$(CONFDIR)/plugins/smarttvweb; \ + cp -r web/ $(DESTDIR)$(CONFDIR)/plugins/smarttvweb; \ + cp smarttvweb.conf $(DESTDIR)$(CONFDIR)/plugins/smarttvweb; \ + chown -R vdr:vdr $(DESTDIR)$(CONFDIR)/plugins/smarttvweb; \ fi install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) diff --git a/Makefile.new b/Makefile.new index 6eb90ea..f80b96c 100755 --- a/Makefile.new +++ b/Makefile.new @@ -106,13 +106,13 @@ $(SOFILE): $(OBJS) $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ install-lib: $(SOFILE) + @echo "Installing conf in "$(DESTDIR)$(CONFDIR)/plugins/smarttvweb; @if [ ! -d $(DESTDIR)$(CONFDIR)/plugins/smarttvweb ]; then \ - @echo "Creating plugin conf dir in "$(DESTDIR)$(CONFDIR); \ mkdir -p $(DESTDIR)$(CONFDIR)/plugins/smarttvweb; \ - cp widget.conf $(DESTDIR)$(CONFDIR)/smarttvweb; \ - cp -r web/ $(DESTDIR)$(CONFDIR)/smarttvweb; \ - cp smarttvweb.conf $(DESTDIR)$(CONFDIR)/smarttvweb; \ - chown -R vdr:vdr $(DESTDIR)$(CONFDIR)/smarttvweb; \ + cp widget.conf $(DESTDIR)$(CONFDIR)/plugins/smarttvweb; \ + cp -r web/ $(DESTDIR)$(CONFDIR)/plugins/smarttvweb; \ + cp smarttvweb.conf $(DESTDIR)$(CONFDIR)/plugins/smarttvweb; \ + chown -R vdr:vdr $(DESTDIR)$(CONFDIR)/plugins/smarttvweb; \ fi install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) -- cgit v1.2.3