Fixed make install interaction with MATLAB wrapper code
							parent
							
								
									1b92c1ae9f
								
							
						
					
					
						commit
						9aea4530aa
					
				|  | @ -35,14 +35,6 @@ libgtsam_la_LDFLAGS = -version-info 0:0:0 | |||
| noinst_HEADERS = gtsam.h | ||||
| EXTRA_DIST = autogen.sh configure.ac THANKS  | ||||
| 
 | ||||
| # install the headers and matlab toolbox
 | ||||
| # TODO: wrap is only called after the toolbox is installed!
 | ||||
| install-exec-hook: | ||||
| 	install -d ${toolbox}/gtsam && \
 | ||||
| 	cp -rf toolbox/* ${toolbox}/gtsam && \
 | ||||
| 	install -d ${prefix}/include/wrap && \
 | ||||
| 	cp -f wrap/wrap-matlab.h  ${prefix}/include/wrap/matlab.h | ||||
| 
 | ||||
| # Todo: Also do CppUnitLite with automake 
 | ||||
| dist-hook: | ||||
| 	mkdir $(distdir)/config | ||||
|  |  | |||
|  | @ -24,6 +24,13 @@ AM_LDFLAGS = -L../CppUnitLite -lCppUnitLite $(BOOST_LDFLAGS) | |||
| 
 | ||||
| TESTS = $(check_PROGRAMS) | ||||
| 
 | ||||
| # install the headers and matlab toolbox
 | ||||
| install-exec-hook: all | ||||
| 	install -d ${toolbox}/gtsam && \
 | ||||
| 	cp -rf ../toolbox/* ${toolbox}/gtsam && \
 | ||||
| 	install -d ${includedir}/wrap && \
 | ||||
| 	cp -f wrap-matlab.h  ${includedir}/wrap/matlab.h | ||||
| 
 | ||||
| # clean local toolbox dir
 | ||||
| clean: | ||||
| 	@test -z "wrap" || rm -f wrap | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue