All of lore.kernel.org
 help / color / mirror / Atom feed
* update for git 1.6
@ 2008-10-08  9:47 Hervé Cauwelier
  0 siblings, 0 replies; only message in thread
From: Hervé Cauwelier @ 2008-10-08  9:47 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

I refresh my checkout and ran autoconf, and I noticed an error with git:

  ./configure: line 1976: git-log: command not found

Indeed the syntax with a dash was deprecated and has been completely
removed since version 1.6.

I found two git calls with the dash. Here is a patch to remove them.

Regards,

Hervé

[-- Attachment #2: 0003--git-syntax-is-obsolete-since-git-1.6.patch --]
[-- Type: text/x-patch, Size: 1230 bytes --]

From 8c5fa01316c02fa60dff718387df092cac6f773c Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Herv=C3=A9=20Cauwelier?= <herve-CEGohT8qNRvQT0dZR+AlfA@public.gmane.org>
Date: Wed, 8 Oct 2008 11:39:26 +0200
Subject: [PATCH] "git-*" syntax is obsolete since git 1.6

---
 Makefile.am  |    2 +-
 configure.ac |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 3a02f4e..4d17fd0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,5 +26,5 @@ EXTRA_DIST = README.NV1 ChangeLog
 # Always regenerate the changelog
 CLEANFILES = ChangeLog
 ChangeLog: FORCE
-	git-log > ChangeLog
+	git log > ChangeLog
 FORCE:
diff --git a/configure.ac b/configure.ac
index de5fb42..814ff2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,7 +36,7 @@ AC_DEFINE_UNQUOTED([NV_PATCHLEVEL],
                    [$(echo $PACKAGE_VERSION | sed -e 's/^[[0-9]]\.[[0-9]]\.\([[0-9]]\)/\1/')],
                    [Patch version])
 AC_DEFINE_UNQUOTED([NV_DRIVER_DATE],
-                   [$(echo -n \";git-log |head -3|tail -1|tr -d '\n';echo -n \")],
+                   [$(echo -n \";git log |head -3|tail -1|tr -d '\n';echo -n \")],
                    [Driver date])
 
 AC_CONFIG_SRCDIR([Makefile.am])
-- 
1.6.0.2


[-- Attachment #3: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-08  9:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-08  9:47 update for git 1.6 Hervé Cauwelier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.