diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-12-30 22:26:17 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-12-30 22:26:17 +0100 |
commit | 41b998d61be16b0551b9411db782926a68eb6f11 (patch) | |
tree | 864747288056cd4185a1766ba770085f2ac7ebaa /dist/epgdata2xmltv/Makefile | |
parent | f9c98d9f294b0eb4b4731c29f1e2940342ef84dc (diff) | |
download | vdr-plugin-xmltv2vdr-41b998d61be16b0551b9411db782926a68eb6f11.tar.gz vdr-plugin-xmltv2vdr-41b998d61be16b0551b9411db782926a68eb6f11.tar.bz2 |
Added patch for epgdata2xmltv Makefile partially (support #1125, thanks to zoolooc)
Diffstat (limited to 'dist/epgdata2xmltv/Makefile')
-rw-r--r-- | dist/epgdata2xmltv/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dist/epgdata2xmltv/Makefile b/dist/epgdata2xmltv/Makefile index bf8a089..3301bd2 100644 --- a/dist/epgdata2xmltv/Makefile +++ b/dist/epgdata2xmltv/Makefile @@ -7,7 +7,7 @@ CXX ?= g++ CXXFLAGS ?= -g -rdynamic -O2 -Wall -Wextra -Woverloaded-virtual -Wno-parentheses PKG-CONFIG ?= pkg-config -STRIP ?= strip +STRIP ?= -s ### Includes and Defines (add further entries here): @@ -29,7 +29,7 @@ TMPDIR = /tmp ### install directory ### -INSTALL = /usr/bin +INSTALL = $(DESTDIR)/usr/bin ### The object files (add further files here): @@ -64,9 +64,9 @@ epgdata2xmltv: epgdata2xmltv_xsl $(OBJS) $(CXX) $(CXXFLAGS) $(OBJS) $(LIBS) -o $@ install: epgdata2xmltv - @cp epgdata2xmltv $(INSTALL) - $(STRIP) $(INSTALL)/epgdata2xmltv - @mkdir -p /var/lib/epgsources + @mkdir -p $(INSTALL) + @install $(STRIP) epgdata2xmltv $(INSTALL) + @mkdir -p $(DESTDIR)/var/lib/epgsources @mkdir -p /var/lib/epgsources/epgdata2xmltv-img @cp epgdata2xmltv.dist /var/lib/epgsources/epgdata2xmltv @chown -R vdr.vdr /var/lib/epgsources |