From: stevenj Date: Sat, 14 Nov 2009 03:05:21 +0000 (-0500) Subject: fixed extraneous text accidentally included in nlopt.f FOrtran include file X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6b99dc402ef50c48f8de2cab0daff00a973b52dd;p=nlopt.git fixed extraneous text accidentally included in nlopt.f FOrtran include file darcs-hash:20091114030521-c8de0-ee88f0b9f3dec44f56369dae6c99604c3c754bde.gz --- 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