From 6b99dc402ef50c48f8de2cab0daff00a973b52dd Mon Sep 17 00:00:00 2001 From: stevenj Date: Fri, 13 Nov 2009 22:05:21 -0500 Subject: [PATCH] fixed extraneous text accidentally included in nlopt.f FOrtran include file darcs-hash:20091114030521-c8de0-ee88f0b9f3dec44f56369dae6c99604c3c754bde.gz --- api/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Makefile.am b/api/Makefile.am index 51356ae..a2a99c4 100644 --- a/api/Makefile.am +++ b/api/Makefile.am @@ -13,6 +13,6 @@ if MAINTAINER_MODE nlopt.f: nlopt.h rm -f $@ - (i=0; egrep 'NLOPT_[LG][DN]' $(srcdir)/nlopt.h | tr -d ' =0,' | while read n; do echo " integer $$n"; echo " parameter ($$n=$$i)"; i=`expr $$i + 1`; done; tail -n +`grep -n enum $(srcdir)/nlopt.h |cut -d: -f1 |tail -n 1` $(srcdir)/nlopt.h | grep NLOPT | cut -d, -f1 | tr -d ' ' | perl -pe 's/([A-Za-z0-9_]+)=([-+0-9]+)/ integer \1\n parameter (\1=\2)/') > $@ + (i=0; egrep 'NLOPT_[LG][DN]' $(srcdir)/nlopt.h | tr -d ' =0,' | while read n; do echo " integer $$n"; echo " parameter ($$n=$$i)"; i=`expr $$i + 1`; done; tail -n +`grep -n enum $(srcdir)/nlopt.h |cut -d: -f1 |tail -n 1` $(srcdir)/nlopt.h | grep NLOPT | grep -v NLOPT_EXTERN | cut -d, -f1 | tr -d ' ' | perl -pe 's/([A-Za-z0-9_]+)=([-+0-9]+)/ integer \1\n parameter (\1=\2)/') > $@ endif -- 2.30.2