mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	The Makefile now also installs the include files
This commit is contained in:
		| @@ -1893,6 +1893,7 @@ Ville Skytt | ||||
|  for adding Language and fixing Language-Team header of *.po | ||||
|  for fixing the Language header of the Serbian translation file | ||||
|  for using pkg-config to get fribidi, freetype and fontconfig cflags and libs | ||||
|  for making the Makefile also install the include files | ||||
|  | ||||
| Steffen Beyer <cpunk@reactor.de> | ||||
|  for fixing setting the colored button help after deleting a recording in case the next | ||||
|   | ||||
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -6602,3 +6602,4 @@ Video Disk Recorder Revision History | ||||
| - Fixed a possible NULL pointer dereference in osddemo.c (reported by Paul Menzel). | ||||
| - Now using pkg-config to get fribidi, freetype and fontconfig cflags and libs (thanks | ||||
|   to Ville Skytt<74>). | ||||
| - The Makefile now also installs the include files (thanks to Ville Skytt<74>). | ||||
|   | ||||
							
								
								
									
										11
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user