]> git.proxmox.com Git - mirror_spl.git/blobdiff - Makefile.am
Build system cleanup
[mirror_spl.git] / Makefile.am
index 410d9a689c01388727bb1ff537a28556c88c6f2a..37182fe7f510d819230627a81fa60a5c75925db5 100644 (file)
@@ -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