Mercurial > mxe-octave
comparison hg-octave-dist.mk @ 4321:8ec05e08aa22
hg-octave-dist: Also install native Octave
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 06 Jan 2017 13:15:40 -0500 |
parents | 4a414e5b16a4 |
children | 2a8b5cf2085c |
comparison
equal
deleted
inserted
replaced
4320:26e2e3ace9e6 | 4321:8ec05e08aa22 |
---|---|
8 ## make hg-octave-dist | 8 ## make hg-octave-dist |
9 ## make | 9 ## make |
10 ## | 10 ## |
11 ## The version number set in the mercurial sources for Octave must | 11 ## The version number set in the mercurial sources for Octave must |
12 ## match the one used in src/default-octave.mk. | 12 ## match the one used in src/default-octave.mk. |
13 ## | |
14 ## We also install the resulting binary to run natively when | |
15 ## building packages during a cross build. | |
13 | 16 |
14 ## Set PATH, PKG_CONFIG_PATH, and LD_LIBRARY_PATH to the original | 17 ## Set PATH, PKG_CONFIG_PATH, and LD_LIBRARY_PATH to the original |
15 ## values from the environment so that we avoid the tools that we've | 18 ## values from the environment so that we avoid the tools that we've |
16 ## built for cross compiling. For these rules to work, you must have | 19 ## built for cross compiling. For these rules to work, you must have |
17 ## appropriate versions of the required tool installed outside of the | 20 ## appropriate versions of the required tool installed outside of the |
31 cd octave-hg-repo && \ | 34 cd octave-hg-repo && \ |
32 rm -rf .build && \ | 35 rm -rf .build && \ |
33 mkdir .build && \ | 36 mkdir .build && \ |
34 $(HG_OCTAVE_DIST_ENV_FLAGS) ./bootstrap && \ | 37 $(HG_OCTAVE_DIST_ENV_FLAGS) ./bootstrap && \ |
35 cd .build && \ | 38 cd .build && \ |
36 $(HG_OCTAVE_DIST_ENV_FLAGS) ../configure && \ | 39 $(HG_OCTAVE_DIST_ENV_FLAGS) ../configure --prefix=$(ROOT_PREFIX) && \ |
37 $(HG_OCTAVE_DIST_ENV_FLAGS) make -j '$(JOBS)' all && \ | 40 $(HG_OCTAVE_DIST_ENV_FLAGS) make -j '$(JOBS)' all && \ |
41 $(HG_OCTAVE_DIST_ENV_FLAGS) make -j '$(JOBS)' install && \ | |
38 $(HG_OCTAVE_DIST_ENV_FLAGS) make -j '$(JOBS)' dist && \ | 42 $(HG_OCTAVE_DIST_ENV_FLAGS) make -j '$(JOBS)' dist && \ |
39 mv '$(default-octave_FILE)' '$(PKG_DIR)' | 43 mv '$(default-octave_FILE)' '$(PKG_DIR)' |
40 | 44 |
41 .PHONY: update-hg-octave-repo | 45 .PHONY: update-hg-octave-repo |
42 update-hg-octave-repo: | 46 update-hg-octave-repo: |