From 7c0e823d0a57df99adc5b1b7975406bfd9e0d9fb Mon Sep 17 00:00:00 2001
From: zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Wed, 27 May 2009 02:01:15 +0000
Subject: [PATCH] Add warning to generated Doxyfile to edit Doxyfile.in.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1917 b42882b7-edfa-0310-969c-e2dbd0fdcd60
---
 Makefile.am | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 10735f345..c14c81f67 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,7 +18,12 @@ EXTRA_DIST = \
 docs: pdf html doxygen
 
 Doxyfile: $(srcdir)/Doxyfile.in
-	sed -e 's,@srcdir\@,$(srcdir),' $< > $@
+	@echo "Creating $@ from $<..."
+	@( \
+	  echo "### @@@ -= DO NOT EDIT THIS FILE =- @@@ ###" && \
+	  echo "### @@@ Make changes to Doxyfile.in @@@ ###" && \
+	  sed -e 's,@srcdir\@,$(srcdir),' $< \
+	) > $@
 
 doxygen::
 	$(MAKE) Doxyfile
-- 
GitLab