From 29a275ac1aef6dafb1a1c4acfdc95672e67d3f52 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 18 Mar 1999 13:55:13 +0000 Subject: [PATCH] remove include_dir hack git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5608 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/Makefile.am.common | 4 +--- include/Makefile.am | 2 +- lib/asn1/Makefile.am | 4 +--- lib/hdb/Makefile.am | 3 +-- lib/krb5/Makefile.am | 3 +-- lib/roken/Makefile.am | 6 ++---- 6 files changed, 7 insertions(+), 15 deletions(-) diff --git a/cf/Makefile.am.common b/cf/Makefile.am.common index b32198296..b4a8a2845 100644 --- a/cf/Makefile.am.common +++ b/cf/Makefile.am.common @@ -13,10 +13,8 @@ COMPILE_ET = $(top_builddir)/lib/com_err/compile_et ## ugly hack for brokenness in automake, you can't install built ## headers via _HEADERS, and you can't install _DATA in includedir. -## set include__DATA to built headers that should be installed ## set build_HEADERZ to headers that should just be installed in build tree -include_dir = $(includedir) buildinclude = $(top_builddir)/include ## these aren't detected by automake @@ -45,7 +43,7 @@ install-suid-programs: install-exec-hook: install-suid-programs install-build-headers: - @foo='$(include__DATA) $(include_HEADERS) $(build_HEADERZ)'; \ + @foo='$(include_HEADERS) $(build_HEADERZ)'; \ for f in $$foo; do \ if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \ else file="$$f"; fi; \ diff --git a/include/Makefile.am b/include/Makefile.am index 0f3a0e429..825d29e23 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -8,7 +8,7 @@ noinst_PROGRAMS = bits INCLUDES = -DHOST=\"$(CANONICAL_HOST)\" -include__DATA = krb5-types.h +include_HEADERS = krb5-types.h krb5-types.h: bits ./bits krb5-types.h diff --git a/lib/asn1/Makefile.am b/lib/asn1/Makefile.am index d18ba7920..fb1803de6 100644 --- a/lib/asn1/Makefile.am +++ b/lib/asn1/Makefile.am @@ -124,9 +124,7 @@ TESTS = check-der CLEANFILES = lex.c parse.c parse.h asn1.h $(BUILT_SOURCES) $(foo) asn1_files -include__DATA = asn1.h asn1_err.h - -include_HEADERS = der.h +include_HEADERS = asn1.h asn1_err.h der.h lex.lo: parse.h diff --git a/lib/hdb/Makefile.am b/lib/hdb/Makefile.am index ea89bfc3c..650f0f88d 100644 --- a/lib/hdb/Makefile.am +++ b/lib/hdb/Makefile.am @@ -23,8 +23,7 @@ lib_LTLIBRARIES = libhdb.la libhdb_la_SOURCES = hdb.c common.c db.c ndbm.c $(BUILT_SOURCES) -include_HEADERS = hdb.h -include__DATA = hdb_err.h hdb_asn1.h +include_HEADERS = hdb.h hdb_err.h hdb_asn1.h libhdb_la_LIBADD = diff --git a/lib/krb5/Makefile.am b/lib/krb5/Makefile.am index 95c228a1b..6619018c6 100644 --- a/lib/krb5/Makefile.am +++ b/lib/krb5/Makefile.am @@ -104,8 +104,7 @@ man_MANS = krb5.conf.5 krb5_warn.3 krb5_openlog.3 \ krb5_425_conv_principal.3 krb5_build_principal.3 krb5_free_principal.3 \ krb5_parse_name.3 krb5_sname_to_principal.3 krb5_unparse_name.3 -include_HEADERS = krb5.h krb5-protos.h -include__DATA = krb5_err.h heim_err.h +include_HEADERS = krb5.h krb5-protos.h krb5_err.h heim_err.h CLEANFILES = krb5_err.c krb5_err.h heim_err.c heim_err.h diff --git a/lib/roken/Makefile.am b/lib/roken/Makefile.am index 4d820fe4e..c0b9fcd10 100644 --- a/lib/roken/Makefile.am +++ b/lib/roken/Makefile.am @@ -109,10 +109,8 @@ libroken_la_LIBADD = @LTLIBOBJS@ $(LTLIBOBJS) $(libroken_la_OBJECTS): roken.h -include_HEADERS = base64.h getarg.h parse_time.h parse_units.h \ - resolve.h roken-common.h - -include__DATA = roken.h +include_HEADERS = $(err_h) base64.h getarg.h parse_time.h parse_units.h \ + resolve.h roken.h roken-common.h build_HEADERZ = $(err_h) $(fnmatch_h) $(glob_h) xdbm.h