aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-06-16 11:34:28 -0700
committerBrian Behlendorf <[email protected]>2009-06-16 11:34:28 -0700
commit2e0e7e69769eb0f5ceda102e575da79288d05127 (patch)
tree06cdc391b00603370f3b8c23ec67b0609c952aa1 /Makefile.am
parent39a3d2a421bf067329bae352866a5d1fccbcee70 (diff)
Packaging improvements for RHEL and SLES (part 2)
- Allow checking for exported symbols in both Module.symvers and Module.symvers. My stock SLES kernel ships an objects directory with Module.symvers, yet produces a Module.symvers in the local build directory.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index c0a4a6b65..b7aed778e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,12 +12,12 @@ distclean-local::
-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \
-o -name '*%' -o -name '.*.cmd' -o -name 'core' \
- -o -name 'Makefile' -o -name 'Module.symvers' \) \
+ -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \) \
-type f -print | xargs $(RM)
install-data-local:
instdest=$(DESTDIR)/${prefix}/src/spl-$(SPL_META_VERSION); \
- for instfile in $(noinst_HEADERS) module/Module.symvers; do \
+ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
done
(cd $(DESTDIR)/${prefix}/src && ln -f -s spl-$(SPL_META_VERSION) spl)