[ofa-general] [PATCH] opensm/Makefile.am: generate ChangeLog on 'make dist'
Sasha Khapyorsky
sashak at voltaire.com
Tue Sep 18 18:30:20 PDT 2007
This generates up-to-date ChangeLog file from git repo and places it in
distribution directory. Activated via dist-hook:.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
opensm/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/opensm/Makefile.am b/opensm/Makefile.am
index b7b6e6a..f0ef88a 100644
--- a/opensm/Makefile.am
+++ b/opensm/Makefile.am
@@ -30,3 +30,5 @@ EXTRA_DIST = autogen.sh opensm.spec $(various_scripts) $(man_MANS)
dist-hook: $(EXTRA_DIST)
mkdir -p $(distdir)/scripts
cp -r --parents $< $(distdir)
+ test -x ../$(top_srcdir)/gen_chlog.sh \
+ && ../$(top_srcdir)/gen_chlog.sh $(PACKAGE) > $(distdir)/ChangeLog
--
1.5.3.1.91.gd3392
More information about the general
mailing list