summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2018-12-12 14:45:38 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2018-12-12 16:10:47 +0100
commit3276485c96636cd38248908ff3575282654ff335 (patch)
tree426f5a84fc3d11a8c2436deff5933dd707c8793a /build
parent40979a6f4ab678a2f57ccaf8aede1156713e3bf8 (diff)
downloadastra-3276485c96636cd38248908ff3575282654ff335.tar.gz
astra-3276485c96636cd38248908ff3575282654ff335.tar.bz2
astra-3276485c96636cd38248908ff3575282654ff335.tar.xz
astra-3276485c96636cd38248908ff3575282654ff335.zip
Reorganize functions into packages/private functions
This also replaces modifying the path with a request to the user to modify the path.
Diffstat (limited to 'build')
-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