diff options
Diffstat (limited to 'media-video/vdr/files/vdr-1.4.7-makefile-install-header.diff')
-rw-r--r-- | media-video/vdr/files/vdr-1.4.7-makefile-install-header.diff | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/media-video/vdr/files/vdr-1.4.7-makefile-install-header.diff b/media-video/vdr/files/vdr-1.4.7-makefile-install-header.diff new file mode 100644 index 000000000000..9f6e8eb42bc5 --- /dev/null +++ b/media-video/vdr/files/vdr-1.4.7-makefile-install-header.diff @@ -0,0 +1,35 @@ +Index: vdr-1.4.7/Makefile +=================================================================== +--- vdr-1.4.7.orig/Makefile ++++ vdr-1.4.7/Makefile +@@ -19,6 +19,7 @@ MANDIR = /usr/local/man + BINDIR = /usr/local/bin + LIBS = -ljpeg -lpthread -ldl -lcap + INCLUDES = ++HEADERDIR = /usr/local/include + + PLUGINDIR= ./PLUGINS + PLUGINLIBDIR= $(PLUGINDIR)/lib +@@ -196,7 +197,7 @@ clean-plugins: + + # Install the files: + +-install: install-bin install-conf install-doc install-plugins ++install: install-bin install-conf install-doc install-plugins install-header + + # VDR binary: + +@@ -227,6 +228,13 @@ install-plugins: plugins + @mkdir -p $(DESTDIR)$(PLUGINLIBDIR) + @cp --remove-destination $(PLUGINDIR)/lib/lib*-*.so.$(APIVERSION) $(DESTDIR)$(PLUGINLIBDIR) + ++# Header files: ++ ++install-header: ++ @mkdir -p $(DESTDIR)$(HEADERDIR)/vdr $(DESTDIR)$(HEADERDIR)/vdr/libsi ++ @cp *.h Make.config $(DESTDIR)$(HEADERDIR)/vdr ++ @cp libsi/*.h $(DESTDIR)$(HEADERDIR)/vdr/libsi ++ + # Source documentation: + + srcdoc: |