From 31d80e527e5bd95b948ce7237e4e4c0d1ea1065f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 17 Apr 2011 13:37:50 +0200 Subject: The Makefile now also installs the include files --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8e6b80cb..93178392 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: Makefile 2.16 2011/04/17 13:29:01 kls Exp $ +# $Id: Makefile 2.17 2011/04/17 13:35:53 kls Exp $ .DELETE_ON_ERROR: @@ -19,6 +19,7 @@ DESTDIR ?= PREFIX ?= /usr/local MANDIR = $(PREFIX)/share/man BINDIR = $(PREFIX)/bin +INCDIR = $(PREFIX)/include LOCDIR = ./locale LIBS = -ljpeg -lpthread -ldl -lcap -lrt $(shell pkg-config --libs freetype2 fontconfig) INCLUDES ?= $(shell pkg-config --cflags freetype2 fontconfig) @@ -162,7 +163,7 @@ clean-plugins: # Install the files: -install: install-bin install-conf install-doc install-plugins install-i18n +install: install-bin install-conf install-doc install-plugins install-i18n install-includes # VDR binary: @@ -193,6 +194,12 @@ install-plugins: plugins @mkdir -p $(DESTDIR)$(PLUGINLIBDIR) @cp --remove-destination $(PLUGINDIR)/lib/lib*-*.so.$(APIVERSION) $(DESTDIR)$(PLUGINLIBDIR) +# Includes: + +install-includes: include-dir + @mkdir -p $(DESTDIR)$(INCDIR) + @cp -pLR include/vdr include/libsi $(DESTDIR)$(INCDIR) + # Source documentation: srcdoc: -- cgit v1.2.3