From c19b7e2a4a97ebc3a2c060d67a323e0e6fe66f91 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 15 Nov 2018 17:27:28 +0100 Subject: copy plot_geom files in correct folders when installing --- build/linux/Makefile.in | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/build/linux/Makefile.in b/build/linux/Makefile.in index 2129519..14df491 100644 --- a/build/linux/Makefile.in +++ b/build/linux/Makefile.in @@ -517,8 +517,30 @@ install-matlab: $(MATLAB_MEX) install-matlab-so $(INSTALL_SH) -m 755 -d $(MATLABBASE) $(INSTALL_SH) -m 755 -d $(MATLABBASE)/mex $(INSTALL_SH) -m 755 -d $(MATLABBASE)/tools + $(INSTALL_SH) -m 755 -d $(MATLABBASE)/algorithms $(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/stl + $(INSTALL_SH) -m 644 $(srcdir)/../../matlab/algorithms/plot_geom/stl/*.stl $(MATLABBASE)/algorithms/plot_geom/stl + + $(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 + # TODO: docs else install-matlab: -- cgit v1.2.3