comparison src/octave.mk @ 3318:2640cb06f42d

* src/octave.mk: Support file list by using DESTDIR.
author Michael Goffioul <michael.goffioul@gmail.com>
date Tue, 12 Nov 2013 20:53:52 -0500
parents a1ae8c657ad7
children 808b2c61eccb
comparison
equal deleted inserted replaced
3317:819e316a7977 3318:2640cb06f42d
80 && $($(PKG)_CONFIGURE_POST_HOOK) 80 && $($(PKG)_CONFIGURE_POST_HOOK)
81 81
82 ## We want both of these install steps so that we install in the 82 ## We want both of these install steps so that we install in the
83 ## location set by the configure --prefix option, and the other 83 ## location set by the configure --prefix option, and the other
84 ## in a directory tree that will have just Octave files. 84 ## in a directory tree that will have just Octave files.
85 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install 85 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
86 if [ $(MXE_SYSTEM) != msvc ]; then \ 86 if [ $(MXE_SYSTEM) != msvc ]; then \
87 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(TOP_DIR)/octave install; \ 87 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(TOP_DIR)/octave install; \
88 fi 88 fi
89 endef 89 endef
90 90