[Pkg-electronics-commits] [gnucap] 11/17: configure: update make date 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 3c47e181a5140b05f95d3ae6a7e51af2e66945c2
Author: al davis <ad211 at freeelectron.net>
Date: Tue Apr 19 22:20:42 2016 -0400
configure: update make date and make checkin
---
Make3 | 8 +++-----
Makefile | 6 ++++++
include/patchlev.h | 2 +-
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/Make3 b/Make3
index aaf96ce..4c10822 100644
--- a/Make3
+++ b/Make3
@@ -25,10 +25,8 @@ tags: $(HDRS) $(SRCS)
etags --c++ $(HDRS) $(SRCS)
#------------------------------------------------------------------------
checkin:
- date "+#define PATCHLEVEL \"%Y.%m.%d RCS `cat rcsversion`\"" \
- >patchlev.h
- -ci -u`cat rcsversion` -m. -t/dev/null $(RAW)
- -ci -r`cat rcsversion` -m. -t/dev/null $(DELETED) $(GENERATED)
+ $(MAKE) date
+ -git commit -a
touch patchlev.h
#------------------------------------------------------------------------
checkout:
@@ -54,7 +52,7 @@ Make.depend: $(SRCS) $(HDRS)
$(CCC) -MM $(CCFLAGS) $(SRCS) > Make.depend
#-----------------------------------------------------------------------------
date:
- date "+#define PATCHLEVEL \"%Y.%m.%d RCS `cat rcsversion` +\"" \
+ date "+#define PATCHLEVEL \"`git branch | awk '/\*/ { print $$2; }'` %Y.%m.%d\"" \
>patchlev.h
#-----------------------------------------------------------------------------
header-check:
diff --git a/Makefile b/Makefile
index 17178aa..4b87296 100644
--- a/Makefile
+++ b/Makefile
@@ -78,5 +78,11 @@ manifest:
(cd main; ${MAKE} manifest)
(cd apps; ${MAKE} manifest)
+date:
+ (cd include; ${MAKE} date)
+
+checkin:
+ (cd include; ${MAKE} checkin)
+
nothing:
diff --git a/include/patchlev.h b/include/patchlev.h
index edaa5d2..dee232a 100644
--- a/include/patchlev.h
+++ b/include/patchlev.h
@@ -1 +1 @@
-#define PATCHLEVEL "2016.04.14 RCS +"
+#define PATCHLEVEL "configure 2016.04.19"
--
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