From 0c617c9a63c733643019a8d930d902ce56b153cc Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 10 Mar 2009 10:57:52 -0700 Subject: Build system cleanup 1) Undefine non-unique entries in spl_config.h 2) Minor Makefile cleanup 3) Don't use includedir for proper kernel header install --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 410d9a689..37182fe7f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,8 @@ SUBDIRS = lib cmd module include scripts AUTOMAKE_OPTIONS = foreign dist-zip -EXTRA_DIST = autogen.sh spl.spec META DISCLAIMER -include_HEADERS = spl_config.h +EXTRA_DIST = autogen.sh spl.spec.in META DISCLAIMER +noinst_HEADERS = spl_config.h distclean-local:: -$(RM) -R autom4te*.cache @@ -16,7 +16,7 @@ distclean-local:: -type f -print | xargs $(RM) install-data-local: - $(INSTALL) module/Module.symvers $(DESTDIR)/$(includedir) + $(INSTALL) -D spl_config.h $(DESTDIR)/$(LINUX)/include/spl/spl_config.h ctags: $(RM) $(top_srcdir)/tags -- cgit v1.2.3