aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-03 14:35:12 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-08-03 14:35:12 +0000
commit6c8f0d0dee41f28c03ed65c2212aec20d123dc61 (patch)
tree6fe0e38c4acd51b43a21c80eb20fc9fd3d71a76d
parent5578723a05d79de57c4918c09f5c9b47c764ace7 (diff)
downloadgdbm-6c8f0d0dee41f28c03ed65c2212aec20d123dc61.tar.gz
gdbm-6c8f0d0dee41f28c03ed65c2212aec20d123dc61.tar.bz2
Remove rules for building gdbm.h. It is now created by configure.
(noinst_HEADERS): Install gdbm.h (EXTRA_DIST): Distribute gdbm.h.in.
-rw-r--r--src/Makefile.am19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index f0530cd..76c3f44 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -17,28 +17,17 @@
# Flags
AM_CPPFLAGS=-DIN_GDBM
-# Built sources
-BUILT_SOURCES = gdbm.h
-DISTCLEANFILES = gdbm.h
-
-gdbm.h: $(top_srcdir)/src/gdbm.proto $(top_srcdir)/src/gdbmerrno.h $(top_srcdir)/src/gdbm.proto2
- rm -f gdbm.h
- cp $(top_srcdir)/src/gdbm.proto gdbm.h
- chmod +w gdbm.h
- grep _ $(top_srcdir)/src/gdbmerrno.h >> gdbm.h
- cat $(top_srcdir)/src/gdbm.proto2 >> gdbm.h
- chmod -w gdbm.h
-
-# Extras
-EXTRA_DIST = gdbm.proto gdbmerrno.h gdbm.proto2
+# Headers
+include_HEADERS = gdbm.h
noinst_HEADERS = \
extern.h\
gdbmconst.h\
gdbmdefs.h\
- gdbmerrno.h\
proto.h\
systems.h
+EXTRA_DIST = gdbm.h.in
+
# The libraries
VI_CURRENT = 4
VI_REVISION = 0

Return to:

Send suggestions and report system problems to the System administrator.