[Pkg-electronics-commits] [gnucap] 12/17: configure: update make header-check and make checkin

felix salfelder felix-guest at moszumanska.debian.org
Fri Jul 29 11:08:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository gnucap.

commit 4c999b5aa87991675b606e9af586c6345c42e117
Author: al davis <ad211 at freeelectron.net>
Date:   Wed Apr 20 00:52:05 2016 -0400

    configure: update make header-check and make checkin
---
 Make3              |  9 ++-------
 Makefile           | 10 +++++++++-
 include/configure  |  1 +
 include/io_error.h | 10 ++++++----
 include/patchlev.h |  2 +-
 5 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/Make3 b/Make3
index 4c10822..eee94b2 100644
--- a/Make3
+++ b/Make3
@@ -1,4 +1,4 @@
-#$Id: Make3,v 26.133 2009/11/26 04:58:04 al Exp $ -*- Makefile -*-
+#$Id: Make3 2016/04/19 al $ -*- Makefile -*-
 # Copyright (C) 2001 Albert Davis
 # Author: Albert Davis <aldavis at gnu.org>
 #
@@ -24,11 +24,6 @@
 tags: $(HDRS) $(SRCS)
 	etags --c++ $(HDRS) $(SRCS)
 #------------------------------------------------------------------------
-checkin:
-	$(MAKE) date
-	-git commit -a
-	touch patchlev.h
-#------------------------------------------------------------------------
 checkout:
 	co $(RAW)
 #------------------------------------------------------------------------
@@ -56,7 +51,7 @@ date:
 		>patchlev.h
 #-----------------------------------------------------------------------------
 header-check:
-	$(CCC) -o /dev/null $(RAW_HDRS)
+	-$(CCC) -I../include -o /dev/null $(RAW_HDRS)
 #-----------------------------------------------------------------------------
 manifest: MANIFEST
 MANIFEST: $(DISTFILES)
diff --git a/Makefile b/Makefile
index 4b87296..c16283c 100644
--- a/Makefile
+++ b/Makefile
@@ -78,11 +78,19 @@ manifest:
 	(cd main; ${MAKE} manifest)
 	(cd apps; ${MAKE} manifest)
 
+header-check:
+	(cd include; ${MAKE} header-check)
+	(cd lib; ${MAKE} header-check)
+	(cd modelgen; ${MAKE} header-check)
+	(cd main; ${MAKE} header-check)
+	(cd apps; ${MAKE} header-check)
+
 date:
 	(cd include; ${MAKE} date)
 
 checkin:
-	(cd include; ${MAKE} checkin)
+	$(MAKE) date
+	-git commit -a
 
 nothing:
 
diff --git a/include/configure b/include/configure
index a84ac7d..31dea5e 100755
--- a/include/configure
+++ b/include/configure
@@ -22,6 +22,7 @@ fi
 #----------------------------------------------------------------
 echo \# created by $PWD/$0. do not edit >Make2
 echo \#------------------------------------------------------------------------ >>Make2
+echo "CCC = g++" >>Make2
 echo "PREFIX = " $prefix >>Make2
 echo "" >>Make2
 
diff --git a/include/io_error.h b/include/io_error.h
index b70200c..939b681 100644
--- a/include/io_error.h
+++ b/include/io_error.h
@@ -1,4 +1,4 @@
-/*$Id: io_error.h 2015/01/27 al $ -*- C++ -*-
+/*$Id: io_error.h 2016/04/19 al $ -*- C++ -*-
  * data for error and exception handling
  *
  * Copyright (C) 2001 Albert Davis
@@ -22,9 +22,11 @@
  * 02110-1301, USA.
  */
 //testing=trivial 2006.07.17
-#ifndef bDANGER
-//#include "md.h"  included by
-//#include "io_trace.h"
+#ifndef IO_ERROR_H_INCLUDED
+#define IO_ERROR_H_INCLUDED
+#ifndef MD_H_INCLUDED
+#include "md.h"
+#endif
 /*--------------------------------------------------------------------------*/
 /* arg to error() (badness) to decide severity of exception */
 #define	bNOERROR	0
diff --git a/include/patchlev.h b/include/patchlev.h
index dee232a..a879789 100644
--- a/include/patchlev.h
+++ b/include/patchlev.h
@@ -1 +1 @@
-#define PATCHLEVEL "configure 2016.04.19"
+#define PATCHLEVEL "configure 2016.04.20"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gnucap.git



More information about the Pkg-electronics-commits mailing list