Commit Graph

408 Commits

Author SHA1 Message Date
Boris Nagaev fa636a2eab print wget command to download logs
This command is useful for downloading problems debugging.
2016-10-16 23:55:47 +03:00
Boris Nagaev 4e8c132550 move CNAME to docs/
See https://github.com/mxe/mxe/issues/1500
2016-08-27 12:31:30 +03:00
Boris Nagaev 8e35c23242 move index.html to docs/
See https://github.com/mxe/mxe/issues/1500
2016-08-27 12:31:30 +03:00
Boris Nagaev cce8094fb0 add missing things
index.html: make docs/build-matrix.html a link
mxe-activate: add versions.json
add .PHONY for build-matrix.html
2016-08-27 12:31:30 +03:00
Boris Nagaev f5567f2c37 mv versions.json build-matrix.html assets docs/
See https://github.com/mxe/mxe/issues/1500
2016-08-27 12:31:30 +03:00
Boris Nagaev d0e424038e rename doc/ to docs/
See https://github.com/mxe/mxe/issues/1500
2016-08-27 12:31:30 +03:00
Boris Nagaev 6adb5ade12 Copyright headers: point to LICENSE.md and shorten
The following script was applied:

    sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE')

    sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \
        $(git grep -l 'part of MXE.*See index.html')

    before='This file is part of MXE. See index.html for further information.'
    after='This file is part of MXE. See LICENSE.md for licensing information.'
    sed "s/$before/$after/" -i $(git grep -l 'part of MXE')

Then git grep 'index.html for further information' revealed two other files.
One of them was patched manually (patch.mk). Makefile has text
"See index.html for further information" unrelated to licensing.

See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
2016-08-27 12:31:29 +03:00
Boris Nagaev d8543d104b fix MXE_GET_GITHUB_TAGS
Error message:

    $ make update-package-pire
    ...
    bash: -c: line 0: syntax error near unexpected token `|'
    ...

Overlooked in b52d3c0c9c
See https://github.com/mxe/mxe/pull/1439
2016-08-24 14:11:18 +03:00
Tony Theodore ca90832bd7 Makefile: enable local $(PKG)_SOURCE_TREE
This is very handy for testing against a local repo, especially when
upstream changes are happening quickly.

See also #183
2016-08-12 02:54:56 +10:00
Boris Nagaev 071e3062f0 remove trailing spaces from main log 2016-08-03 00:54:09 +03:00
Tony Theodore f88bbe7ffd Makefile: add BUILD_TYPE [debug | release] varaibles for pkg build rules 2016-07-17 00:26:09 +10:00
Boris Nagaev b52d3c0c9c refactor macro MXE_GET_GITHUB_ALL_TAGS
It is needed to get full list of tags and apply grep or sed manually.
2016-07-13 23:04:01 +03:00
Tony Theodore 5920eb8de3 Makefile: add `TEST_FILE` to variables for pkg build rules 2016-07-11 20:56:22 +10:00
Tony Theodore 1d75e1f353 Makefile: add SOURCE_DIR and BUILD_DIR variables
* use `*.build_` until all packages are converted

see #1159

This commit was amended by Boris Nagaev on Jul 11, 2016.
2016-07-11 09:27:22 +03:00
Tony Theodore a0a3340772 Makefile: allow packages to specify a list of zero or more patches 2016-07-05 16:26:15 +10:00
Boris Nagaev b791ffd4e7 Merge pull request #1417 from tonytheodore/make-target-specific
Makefile: note use of target-specific variables
2016-07-04 11:15:02 +04:00
Tony Theodore 0030112958 Makefile: note use of target-specific variables 2016-07-04 15:26:13 +10:00
Tony Theodore 85de732ad4 fix multiple downloads of same file
see #1415
fixes #1079
2016-07-04 14:26:12 +10:00
Boris Nagaev aab2b70253 create tmp-*/readonly instead of usr/readonly
Removing MXE directory with "rm -rf" used to fail on file
usr/readonly/.gitkeep because directory usr/readonly was readonly.
Now readonly directory is created in tmp-* directory and .gitkeep
is not created for it (because tmp-* is not under usr/).
Problems with removing MXE directory are fixed even in case
of interrupted build.

fix #1221
2016-06-12 02:08:38 +03:00
Tony Theodore 959bb5f85d fix native plugins when additional dirs are specified
When plugins are specified on the command line, automatic native plugins
are not included (for darwin and wheezy):

```
$ make gmsl-print-MXE_PLUGIN_DIRS MXE_PLUGIN_DIRS=plugins/apps/
MXE_PLUGIN_DIRS = plugins/apps/
```

https://www.gnu.org/software/make/manual/make.html#Override-Directive
https://github.com/mxe/mxe/issues/1259#issuecomment-217376756
2016-06-03 03:32:33 +10:00
Thomas Danckaert 31ecd36182 Treat files ending in .tar.Z as gzipped tar files. 2016-05-30 13:45:27 +02:00
Boris Nagaev 3672fda373 add host compiler version to log
see #1351
2016-05-19 23:19:22 +03:00
Tony Theodore 580828183a clarify rationale for env whitelist entries
* add EDITOR, PS1, TERM for basic functionality of interactive shells
* separate mxe related variables
* identify source of ACLOCAL_PATH and LD_LIBRARY_PATH
2016-04-12 08:26:26 +10:00
Tony Theodore 632085f2f7 add `nonetwork` lib to `shell` target dependencies 2016-04-11 21:04:18 +10:00
Boris Nagaev 87163ff7be add "make shell" command
It provides interactive shell with the environment of MXE build.
2016-04-11 03:30:08 +03:00
Boris Nagaev f11e66f365 fix dependencies of build-matrix.html
Dependencies of build-matrix.html were written without
regarding plugins. It resulted in the following error
on Debian Wheezy (which uses plugin "plugins/native/wheezy/"):

  $ make build-matrix.html
  make: *** No rule to make target `src/autoconf.mk',
  needed by `build-matrix.html'.  Stop.
2016-02-23 17:09:49 +03:00
Boris Pek ad883ac8f9 Makefile: fix make clean target when $$WINEPREFIX directory doesn't exist 2016-02-21 18:03:38 +03:00
Tony Theodore a2e79fec92 automatically set MXE_PLUGIN_DIRS for native requirements 2016-01-31 16:56:58 +11:00
Tony Theodore dfec326366 Makefile and mxe-conf: create basic non-empty directory hierarchy
https://github.com/mxe/mxe/pull/1061/files#r49049496
https://github.com/mxe/mxe/issues/1111#issuecomment-169280181
2016-01-12 15:17:21 +11:00
Boris Nagaev efc287a8d9 move patching functions and targets to patch.mk
See https://github.com/mxe/mxe/pull/1134#issuecomment-168873410
See https://github.com/mxe/mxe/pull/1134#issuecomment-169867926
2016-01-08 15:39:41 +03:00
Boris Nagaev adb07e2153 patch-tool-mxe can import all patches of a package 2016-01-08 15:39:41 +03:00
Boris Nagaev a516d920ef reimplement patch-tool-mxe in Makefile
fix #1063
2016-01-08 15:39:41 +03:00
Boris Nagaev 53a92a86df print Perl version to log
See https://github.com/mxe/mxe/issues/1108#issuecomment-169556116
See https://github.com/mxe/mxe/issues/1112
2016-01-07 17:59:52 +03:00
Tony Theodore 7804a5775c Makefile: don't clean build-matrix.html 2016-01-06 17:15:33 +11:00
Boris Nagaev d0f9a3df95 print Python version to log 2016-01-03 15:09:42 +03:00
Tony Theodore 0ccb9e2f6b Add git commit hash to log and build message
* use short form for build status
* use full hash and refs for logs
* add `TERM` to env whitelist (`git log` assumes a terminal)

closes #1095
2015-12-27 13:59:24 +11:00
Tony Theodore 5ebcb2ebde Makefile: error on paths with dollar signs
see #1085
2015-12-22 20:10:47 +11:00
Tony Theodore 11aee96888 Makefile: add link to gmake issue with spaces in filenames 2015-12-20 15:27:49 +11:00
Alexande B 8d44c858e7 #782 fix, wrong checksum calculation command for OSX 2015-12-13 16:40:06 +03:00
Tony Theodore d7a5efbbaa disable doxygen in MXE_CONFIGURE_OPTS
fixes #952 and should provide a general solution
2015-12-08 18:04:31 +11:00
Boris Nagaev b0f15f8a42 add unpacker for .deb files 2015-12-07 01:15:59 +03:00
Tony Theodore 46d0d0dac8 Makefile: remove cmake from requirements check 2015-12-06 02:42:56 +11:00
Tony Theodore c62b62966b Makefile: build universal nonetwork.dylib 2015-12-02 00:20:11 +11:00
Tony Theodore 768c11246e cmake wrapper: use common TryRunResults.cmake 2015-12-01 20:31:10 +11:00
Tony Theodore 79f424fb29 Makefile: echo nonetwork build and remove mkdir in recipe 2015-11-30 18:45:08 +11:00
Tony Theodore 8861c392ef Makefile: fix nonetwork location and `make -t` 2015-11-30 18:39:57 +11:00
Tony Theodore 2944ccde5d Makefile: remove *_MAKEFILE boilerplate and enable all-<plugin> target 2015-11-30 16:49:34 +11:00
Tony Theodore 70c4d91a07 Makefile: also disable networking during build on OSX
closes #986
2015-11-30 15:05:00 +11:00
Tony Theodore d6e2ad3805 Makefile: only call UPDATE if rule exists 2015-11-30 14:50:10 +11:00
Tony Theodore d6c4884455 Makefile: add plugins functionality to include makefiles from MXE_PLUGIN_DIRS 2015-11-26 16:48:53 +11:00