Mercurial > hg > mxe
changeset 2038:128a84239ad4
package opencsg: install test program without sed
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Sun, 23 Oct 2011 20:40:03 +0200 |
parents | 9d9999b394d4 |
children | b7c837764729 |
files | src/opencsg.mk |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/opencsg.mk +++ b/src/opencsg.mk @@ -22,9 +22,10 @@ define $(PKG)_BUILD cd '$(1)/src' && '$(TARGET)-qmake' src.pro $(MAKE) -C '$(1)/src' -j '$(JOBS)' - $(SED) -i 's,opencsgexample,test-opencsg\nRelease:DESTDIR = $(PREFIX)/$(TARGET)/bin/,' '$(1)/example/example.pro' + $(INSTALL) -m644 '$(1)/include/opencsg.h' '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -m644 '$(1)/lib/libopencsg.a' '$(PREFIX)/$(TARGET)/lib/' + cd '$(1)/example' && '$(TARGET)-qmake' example.pro $(MAKE) -C '$(1)/example' -j '$(JOBS)' - $(INSTALL) -m644 '$(1)/lib/libopencsg.a' '$(PREFIX)/$(TARGET)/lib/' - $(INSTALL) -m644 '$(1)/include/opencsg.h' '$(PREFIX)/$(TARGET)/include/' + $(INSTALL) -m755 '$(1)/example/release/opencsgexample.exe' '$(PREFIX)/$(TARGET)/bin/test-opencsg.exe' endef