Skip to contentSkip to conversation

Add shave support

PATCH In review Peter Henriksson 1 participant 2 messages Jul 13, 2009 – Jul 20, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add shave support

Patch to add shave support for cleaner output. Defaults to disabled.

// Peter

From b5ebca697ca25c7bc13a55be218c12120e8a145e Mon Sep 17 00:00:00 2001
From: Peter Henriksson <[email protected]>
Date: Mon, 13 Jul 2009 18:13:27 +0200
Subject: [PATCH] Add shave support

Defaults to disabled

---
 .gitignore       |    2 +
 acinclude.m4     |   77 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 configure.ac     |    4 +++
 shave-libtool.in |   69 +++++++++++++++++++++++++++++++++++++++++++++++
 shave.in         |   79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 231 insertions(+), 0 deletions(-)
 create mode 100644 acinclude.m4
 create mode 100644 shave-libtool.in
 create mode 100644 shave.in
.gitignore +2 -0
index 4ff1108..7580e8e 100644
@@ -20,3 +20,5 @@ ltmain.sh
 missing
 stamp-h1
 ChangeLog
+shave
+shave-libtool
acinclude.m4 new file +77 -0

77 lines not on this page · raw message

configure.ac +4 -0
index 0e9b319..c0a9135 100644
@@ -45,6 +45,8 @@ AC_CONFIG_AUX_DIR(.)
 
 AM_INIT_AUTOMAKE([dist-bzip2])
 
+AC_CONFIG_FILES([shave shave-libtool])
+
 # Checks for programs.
 AC_DISABLE_STATIC
 AC_PROG_LIBTOOL
@@ -118,6 +120,8 @@ AC_SUBST([DRIVER_NAME])
 XORG_MANPAGE_SECTIONS
 XORG_RELEASE_VERSION
 
+SHAVE_INIT(.,disable)
+
 AC_OUTPUT([
 	Makefile
 	src/Makefile
shave-libtool.in new file +69 -0

69 lines not on this page · raw message

shave.in new file +79 -0

79 lines not on this page · raw message

Signature · 1 line
1.6.3.3

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 1247502799.29492.3.camel-/[email protected]

#2 lore raw
Quoted 1 line · Peter Henriksson

Patch to add shave support for cleaner output. Defaults to disabled.

I should have mentioned the patch was for the ddx.

It occurred to me that using the AM_SILENT_RULES functionality in automake 1.11 might be a better solution.
Compared to the last patch this one defaults to quiet output. Override with --disable-silent-rules or make V=1
Should still be compatible with earlier versions of automake.

Cheers,
Peter

From 15f657dd9f00bdd41dca09e2e2315c5260b604ad Mon Sep 17 00:00:00 2001
From: Peter Henriksson <[email protected]>
Date: Mon, 20 Jul 2009 23:56:13 +0200
Subject: [PATCH] Add support for AM_SILENT_RULES

Make use of the AM_SILENT_RULES functionality in automake 1.11 Defaults to quiet output. Verbose output can be enabled with "./configure --disable-silent-rules" or "make V=1"

---
 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
configure.ac +3 -0
index 4e1d60a..ed41d9f 100644
@@ -45,6 +45,9 @@ AC_CONFIG_AUX_DIR(.)
 
 AM_INIT_AUTOMAKE([dist-bzip2])
 
+m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES])
+AM_SILENT_RULES([yes])
+
 # Checks for programs.
 AC_DISABLE_STATIC
 AC_PROG_LIBTOOL
Signature · 1 line
1.6.3.3

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau