r11153 - libprelude/trunk

[email protected]
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
Author: yoann
Date: 2009-04-20 17:05:30 +0200 (Mon, 20 Apr 2009)
New Revision: 11153

Modified:
   libprelude/trunk/Makefile.am
Log:
Automatic ChangeLog generation (from http://live.gnome.org/Git/ChangeLog).

Modified: libprelude/trunk/Makefile.am
===================================================================
--- libprelude/trunk/Makefile.am	2009-04-20 14:25:26 UTC (rev 11152)
+++ libprelude/trunk/Makefile.am	2009-04-20 15:05:30 UTC (rev 11153)
@@ -108,3 +108,17 @@
 	rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/global.conf
 	rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/idmef-client.conf
 	rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/tls.conf
+
+
+dist-hook:
+	@if test -d "$(srcdir)/.git"; then	\
+		echo Creating ChangeLog && \
+		( cd "$(top_srcdir)" && \
+		  echo '# Generated by Makefile. Do not edit.'; echo; \
+		  $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
+		&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
+		|| ( rm -f ChangeLog.tmp ; \
+		echo Failed to generate ChangeLog >&2 ); \
+	else \
+		echo A git clone is required to generate a ChangeLog >&2; \
+	fi

_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.