chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
65f6f2f
)
include nlopt_optimize_usage.h in dist tarball, for Windows users; thanks to Per...
author
stevenj
<stevenj@alum.mit.edu>
Sat, 16 Oct 2010 21:00:36 +0000
(17:00 -0400)
committer
stevenj
<stevenj@alum.mit.edu>
Sat, 16 Oct 2010 21:00:36 +0000
(17:00 -0400)
darcs-hash:
20101016210036
-c8de0-
e090de40c0610862c1bd607e499ee3b1f2796a5d
.gz
octave/Makefile.am
patch
|
blob
|
history
diff --git
a/octave/Makefile.am
b/octave/Makefile.am
index 821fe65d84daf75d444d21d7f35e9b5cf622969e..1b3d657d60fe3e7ffca1b11bbb212e0ca8a52bc7 100644
(file)
--- a/
octave/Makefile.am
+++ b/
octave/Makefile.am
@@
-19,6
+19,9
@@
endif
nlopt_optimize.oct: nlopt_optimize-oct.cc nlopt_optimize_usage.h $(top_builddir)/.libs/libnlopt@NLOPT_SUFFIX@.la
$(MKOCTFILE) -o $@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(srcdir)/nlopt_optimize-oct.cc $(LDFLAGS) -L$(top_builddir)/.libs -lnlopt@NLOPT_SUFFIX@
nlopt_optimize.oct: nlopt_optimize-oct.cc nlopt_optimize_usage.h $(top_builddir)/.libs/libnlopt@NLOPT_SUFFIX@.la
$(MKOCTFILE) -o $@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(srcdir)/nlopt_optimize-oct.cc $(LDFLAGS) -L$(top_builddir)/.libs -lnlopt@NLOPT_SUFFIX@
+BUILT_SOURCES = nlopt_optimize_usage.h
+MAINTAINERCLEANFILES = $(BUILT_SOURCES)
+
nlopt_optimize_usage.h: $(srcdir)/nlopt_optimize.m
echo "#define NLOPT_OPTIMIZE_USAGE \\" > $@
sed 's/\"/\\"/g' $(srcdir)/nlopt_optimize.m | sed 's,^% ,\",;s,^%,\",;s,$$,\\n\" \\,' >> $@
nlopt_optimize_usage.h: $(srcdir)/nlopt_optimize.m
echo "#define NLOPT_OPTIMIZE_USAGE \\" > $@
sed 's/\"/\\"/g' $(srcdir)/nlopt_optimize.m | sed 's,^% ,\",;s,^%,\",;s,$$,\\n\" \\,' >> $@
@@
-35,6
+38,6
@@
nlopt_optimize.$(MEXSUFF): nlopt_optimize-mex.c $(top_builddir)/.libs/libnlopt@N
#######################################################################
#######################################################################
-EXTRA_DIST = nlopt_optimize-oct.cc nlopt_optimize-mex.c $(MFILES) nlopt_minimize.m nlopt_minimize_constrained.m nlopt_optimize.m
+EXTRA_DIST = nlopt_optimize-oct.cc nlopt_optimize-mex.c $(MFILES) nlopt_minimize.m nlopt_minimize_constrained.m nlopt_optimize.m
nlopt_optimize_usage.h
CLEANFILES = nlopt_optimize.oct nlopt_optimize.h nlopt_optimize.$(MEXSUFF) nlopt_optimize-oct.o
CLEANFILES = nlopt_optimize.oct nlopt_optimize.h nlopt_optimize.$(MEXSUFF) nlopt_optimize-oct.o