[Opensrf-commits] r1741 - trunk/src/perl (sboyette)

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Aug 16 20:34:51 EDT 2009


Author: sboyette
Date: 2009-08-16 20:34:50 -0400 (Sun, 16 Aug 2009)
New Revision: 1741

Modified:
   trunk/src/perl/Makefile.am
Log:
'make' will now just plain make again without proceeding to install.
Added Build to files swept by 'make clean'

Modified: trunk/src/perl/Makefile.am
===================================================================
--- trunk/src/perl/Makefile.am	2009-08-17 00:34:50 UTC (rev 1740)
+++ trunk/src/perl/Makefile.am	2009-08-17 00:34:50 UTC (rev 1741)
@@ -11,14 +11,20 @@
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 
+CLEANFILES = Build
 DISTCLEANFILES = Makefile.in Makefile
 
 all:
-	perl Build.PL || make -s install-perl-fail
+	perl Build.PL || make -s build-perl-fail
+	./Build || make -s build-perl-fail
+	./Build test || make -s build-perl-fail
 
-install-perl-fail:
+install:
+	./Build install
+
+build-perl-fail:
 	echo
-	echo ">>> Installation of Perl modules has failed. The most likely"
+	echo ">>> Build/test of Perl modules has failed. The most likely"
 	echo ">>> possibility is that a dependency is not pre-installed"
 	echo ">>> or that a test has failed."
 	echo ">>> See the messages above this one for more information."



More information about the opensrf-commits mailing list