[ofa-general] [PATCH] opensm/Makefile.am: more 'make dist' fixes

Sasha Khapyorsky sashak at voltaire.com
Tue Sep 18 16:57:55 PDT 2007


Add all scripts to EXTRA_DIST list - it is used in spec file when
rpm is generated.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 opensm/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/opensm/Makefile.am b/opensm/Makefile.am
index 9cbce3a..b7b6e6a 100644
--- a/opensm/Makefile.am
+++ b/opensm/Makefile.am
@@ -23,7 +23,9 @@ endif
 
 man_MANS = man/opensm.8 man/osmtest.8
 
-EXTRA_DIST = opensm.spec scripts/opensm.init scripts/opensm.sysconfig $(man_MANS)
+various_scripts = $(wildcard scripts/*)
+
+EXTRA_DIST = autogen.sh opensm.spec $(various_scripts) $(man_MANS)
 
 dist-hook: $(EXTRA_DIST)
 	mkdir -p $(distdir)/scripts
-- 
1.5.3.1.91.gd3392




More information about the general mailing list