blob: 9f6e8eb42bc5c848f91c7f5a37e484fac8fd3248 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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:
|