Using 'cat' instead of 'cp' to copy the Doxyfile to avoid problems in case Doxyfile is write protected

This commit is contained in:
Klaus Schmidinger 2013-02-17 11:11:05 +01:00
parent 7076f20b44
commit 54d81f0b8f
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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