2008-10-19 00:48:13

by Jan Engelhardt

[permalink] [raw]
Subject: Get rid of empty AUTHORS file

Hi,


the AUTHORS file reads:

This is a dummy AUTHORS file to make automake happy.

You can make automake happy in an IMO better way:

AUTOMAKE_OPTIONS = foreign

at the top of the toplevel Makefile.am.
(I usually also prefer "AUTOMAKE_OPTIONS = subdir-objs" next to
foreign.)


2008-10-20 18:53:48

by J. Bruce Fields

[permalink] [raw]
Subject: Re: Get rid of empty AUTHORS file

On Sat, Oct 18, 2008 at 08:48:11PM -0400, Jan Engelhardt wrote:
> the AUTHORS file reads:
>
> This is a dummy AUTHORS file to make automake happy.
>
> You can make automake happy in an IMO better way:
>
> AUTOMAKE_OPTIONS = foreign
>
> at the top of the toplevel Makefile.am.
> (I usually also prefer "AUTOMAKE_OPTIONS = subdir-objs" next to
> foreign.)

The quickest way to get changes into nfs-utils these days is a patch
sent to [email protected] against git://linux-nfs.org/nfs-utils.

--b.

2008-10-20 19:41:45

by Jan Engelhardt

[permalink] [raw]
Subject: Re: Get rid of empty AUTHORS file (patch)


On Monday 2008-10-20 14:53, J. Bruce Fields wrote:
>On Sat, Oct 18, 2008 at 08:48:11PM -0400, Jan Engelhardt wrote:
>> the AUTHORS file reads:
>>
>> This is a dummy AUTHORS file to make automake happy.
>>
>> You can make automake happy in an IMO better way:
>>
>> AUTOMAKE_OPTIONS = foreign
>>
>> at the top of the toplevel Makefile.am.
>> (I usually also prefer "AUTOMAKE_OPTIONS = subdir-objs" next to
>> foreign.)
>
>The quickest way to get changes into nfs-utils these days is a patch
>sent to [email protected] against git://linux-nfs.org/nfs-utils.

commit 81d1d9fbab29e45fbdb27a2e0df011f6cd00714a
Author: Jan Engelhardt <[email protected]>
Date: Mon Oct 20 15:40:27 2008 -0400

build: remove redundant AUTHORS file

One can use the --foreign automake option to make it not enforce
presence of an AUTHORS file.

Signed-off-by: Jan Engelhardt <[email protected]>
---
AUTHORS | 1 -
Makefile.am | 2 ++
2 files changed, 2 insertions(+), 1 deletions(-)
delete mode 100644 AUTHORS
mode change 100644 => 100755 autogen.sh

diff --git a/AUTHORS b/AUTHORS
deleted file mode 100644
index 9205d1e..0000000
--- a/AUTHORS
+++ /dev/null
@@ -1 +0,0 @@
-This is a dummy AUTHORS file to make automake happy.
diff --git a/Makefile.am b/Makefile.am
index ec8e832..88ae210 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,7 @@
## Process this file with automake to produce Makefile.in

+AUTOMAKE_OPTIONS = foreign
+
SUBDIRS = tools support utils linux-nfs

MAINTAINERCLEANFILES = Makefile.in
diff --git a/autogen.sh b/autogen.sh
old mode 100644
new mode 100755