From 54d81f0b8f68778d5ff5c9dd8f5a31ab25bde693 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 17 Feb 2013 11:11:05 +0100 Subject: Using 'cat' instead of 'cp' to copy the Doxyfile to avoid problems in case Doxyfile is write protected --- HISTORY | 2 ++ Makefile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 9ed309bb..504571c2 100644 --- a/HISTORY +++ b/HISTORY @@ -7637,3 +7637,5 @@ Video Disk Recorder Revision History put them in place when writing future comments, so I decided to drop them entirely. - Added Doxyfile.filter to have special characters escaped that would otherwise be dropped by Doxygen (reported by Ville Skyttä). +- Using 'cat' instead of 'cp' to copy the Doxyfile to avoid problems in case Doxyfile + is write protected. diff --git a/Makefile b/Makefile index 94ab132b..db597543 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.51 2013/02/16 11:21:03 kls Exp $ +# $Id: Makefile 2.52 2013/02/17 11:08:04 kls Exp $ .DELETE_ON_ERROR: @@ -303,7 +303,7 @@ install-pc: vdr.pc # Source documentation: srcdoc: - @cp $(DOXYFILE) $(DOXYFILE).tmp + @cat $(DOXYFILE) > $(DOXYFILE).tmp @echo PROJECT_NUMBER = $(VDRVERSION) >> $(DOXYFILE).tmp $(DOXYGEN) $(DOXYFILE).tmp @rm $(DOXYFILE).tmp -- cgit v1.2.3