m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] * Makefile.am: Adjust getopt handling to latest gnulib layout.


From: Ralf Wildenhues
Subject: [PATCH] * Makefile.am: Adjust getopt handling to latest gnulib layout.
Date: Sun, 28 Oct 2007 17:20:30 +0100
User-agent: Mutt/1.5.16 (2007-10-15)

---
My first M4 patch with git.  :-)

 Makefile.am |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1b2fe01..22917a4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -76,8 +76,7 @@ src_m4_SOURCES        = \
 if GETOPT
 src_m4_SOURCES += \
                  src/getopt.c \
-                 src/getopt1.c \
-                 src/getopt.h
+                 src/getopt1.c
 endif
 if STACKOVF
 src_m4_SOURCES += src/stackovf.c
@@ -101,13 +100,13 @@ clean-local-src:
 ##  (from: gnulib-tool --extract-automake-snippet getopt version-etc)   ##
 ##                                                                      ##
 BUILT_SOURCES  += src/$(GETOPT_H)
-EXTRA_DIST     += src/getopt_.h src/getopt_int.h
+EXTRA_DIST     += src/getopt.in.h src/getopt_int.h
 
 # We need the following in order to create an <getopt.h> when the
 # system doesn't have one that works with the given compiler.
 all-local: src/$(GETOPT_H)
-src/getopt.h: src/getopt_.h
-       cp $(srcdir)/src/getopt_.h address@hidden
+src/getopt.h: src/getopt.in.h
+       cp $(srcdir)/src/getopt.in.h address@hidden
        mv address@hidden $@
 MOSTLYCLEANFILES += src/getopt.h src/getopt.h-t
 ##                                                                      ##
-- 
1.5.3.1.153.g89df5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]