diff --git a/HISTORY b/HISTORY index 584c759a..21bc8acd 100644 --- a/HISTORY +++ b/HISTORY @@ -3685,3 +3685,4 @@ Video Disk Recorder Revision History - Now storing the channel id in the info.vdr file even if there is no EPG info available (thanks to Andreas Brachold for reporting that there are empty info.vdr files created in that case). +- Added some 'mkdir -p' to the Makefile's 'install' target. diff --git a/Makefile b/Makefile index 12142390..28569b6e 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 1.76 2005/07/31 11:20:20 kls Exp $ +# $Id: Makefile 1.77 2005/08/14 11:42:20 kls Exp $ .DELETE_ON_ERROR: @@ -183,11 +183,16 @@ plugins-clean: # Install the files: install: + @mkdir -p $(BINDIR) @cp vdr runvdr $(BINDIR) + @mkdir -p $(BINDIR)/$(PLUGINLIBDIR) + @cp $(PLUGINLIBDIR)/* $(BINDIR)/$(PLUGINLIBDIR) + @mkdir -p $(MANDIR)/man1 + @mkdir -p $(MANDIR)/man5 @gzip -c vdr.1 > $(MANDIR)/man1/vdr.1.gz @gzip -c vdr.5 > $(MANDIR)/man5/vdr.5.gz @if [ ! -d $(VIDEODIR) ]; then\ - mkdir $(VIDEODIR);\ + mkdir -p $(VIDEODIR);\ cp *.conf $(VIDEODIR);\ fi