[netperf-dev] netperf2 commit notice r114 - trunk

raj at netperf.org raj at netperf.org
Mon May 14 17:02:42 PDT 2007


Author: raj
Date: 2007-05-14 17:02:41 -0700 (Mon, 14 May 2007)
New Revision: 114

Modified:
   trunk/Makefile.am
   trunk/Makefile.in
Log:
put back the dist-hook for the time being

Modified: trunk/Makefile.am
===================================================================
--- trunk/Makefile.am	2007-05-14 23:59:03 UTC (rev 113)
+++ trunk/Makefile.am	2007-05-15 00:02:41 UTC (rev 114)
@@ -2,3 +2,7 @@
 AUTOMAKE_OPTIONS = dist-bzip2 dist-zip
 SUBDIRS = src doc
 EXTRA_DIST = README.* Release_Notes inet_ntop.c
+dist-hook:
+	rm -rf `find $(distdir) -name .svn`
+	sed -e 's|@VERSION\@|$(VERSION)|g' $(PACKAGE).spec.in > $(PACKAGE).spec
+	cp $(PACKAGE).spec $(distdir)
\ No newline at end of file

Modified: trunk/Makefile.in
===================================================================
--- trunk/Makefile.in	2007-05-14 23:59:03 UTC (rev 113)
+++ trunk/Makefile.in	2007-05-15 00:02:41 UTC (rev 114)
@@ -368,6 +368,9 @@
 	      || exit 1; \
 	  fi; \
 	done
+	$(MAKE) $(AM_MAKEFLAGS) \
+	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
+	  dist-hook
 	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
 	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
 	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
@@ -545,6 +548,10 @@
 	ps-recursive tags tags-recursive uninstall uninstall-am \
 	uninstall-info-am uninstall-info-recursive uninstall-recursive
 
+dist-hook:
+	rm -rf `find $(distdir) -name .svn`
+	sed -e 's|@VERSION\@|$(VERSION)|g' $(PACKAGE).spec.in > $(PACKAGE).spec
+	cp $(PACKAGE).spec $(distdir)
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:



More information about the netperf-dev mailing list