summaryrefslogtreecommitdiffstats
path: root/build/linux
diff options
context:
space:
mode:
Diffstat (limited to 'build/linux')
-rw-r--r--build/linux/Makefile.in20
1 files changed, 4 insertions, 16 deletions
diff --git a/build/linux/Makefile.in b/build/linux/Makefile.in
index 73d8279..a294578 100644
--- a/build/linux/Makefile.in
+++ b/build/linux/Makefile.in
@@ -521,22 +521,10 @@ install-matlab: $(MATLAB_MEX) install-matlab-so
$(INSTALL_SH) -m 755 $(MATLAB_MEX) $(MATLABBASE)/mex
$(INSTALL_SH) -m 644 $(srcdir)/../../matlab/tools/*.m $(MATLABBASE)/tools
- # TODO: there must be a more efficient way to do this than to create and fill every single folder
- # install plot_geom
- $(INSTALL_SH) -m 755 -d $(MATLABBASE)/algorithms/plot_geom
- $(INSTALL_SH) -m 644 $(srcdir)/../../matlab/algorithms/plot_geom/*.m $(MATLABBASE)/algorithms/plot_geom
-
- $(INSTALL_SH) -m 755 -d $(MATLABBASE)/algorithms/plot_geom/draw
- $(INSTALL_SH) -m 644 $(srcdir)/../../matlab/algorithms/plot_geom/draw/*.m $(MATLABBASE)/algorithms/plot_geom/draw
-
- $(INSTALL_SH) -m 755 -d $(MATLABBASE)/algorithms/plot_geom/util
- $(INSTALL_SH) -m 644 $(srcdir)/../../matlab/algorithms/plot_geom/util/*.m $(MATLABBASE)/algorithms/plot_geom/util
-
- $(INSTALL_SH) -m 755 -d $(MATLABBASE)/algorithms/plot_geom/util/parseargs
- $(INSTALL_SH) -m 644 $(srcdir)/../../matlab/algorithms/plot_geom/util/parseargs/* $(MATLABBASE)/algorithms/plot_geom/util/parseargs
-
- $(INSTALL_SH) -m 755 -d $(MATLABBASE)/algorithms/plot_geom/util/stlTools
- $(INSTALL_SH) -m 644 $(srcdir)/../../matlab/algorithms/plot_geom/util/stlTools/* $(MATLABBASE)/algorithms/plot_geom/util/stlTools
+ for D in plot_geom plot_geom/private plot_geom/+draw plot_geom/+draw/private plot_geom/+parseargs plot_geom/+stlTools; do \
+ $(INSTALL_SH) -m 755 -d $(MATLABBASE)/algorithms/$$D; \
+ $(INSTALL_SH) -m 644 $(srcdir)/../../matlab/algorithms/$$D/*.m $(MATLABBASE)/algorithms/$$D; \
+ done
# TODO: docs
else