Commit Graph

13 Commits

Author SHA1 Message Date
Tony Theodore 3a26dafbd1 add virtual toolchain package cc 2017-12-23 08:18:52 +11:00
Tony Theodore 51217e01d2 updates: move to separate file and add generic updater function 2017-11-18 16:19:55 +11:00
Tony Theodore b815f6cc2d tools/skeleton.py: update pkg-config template 2017-10-30 15:14:03 +11:00
Tony Theodore 66a638e420 tools/skeleton.py: add gh_conf support 2017-03-19 00:39:19 +11:00
Boris Nagaev cf8930dde0 skeleton.py: put website and description to .mk
... instead of index.html

See https://github.com/mxe/mxe/issues/1422
2016-12-22 22:28:29 +01:00
Boris Nagaev c14f15b447 skeleton.py: use shutil.move instead of os.rename
Function os.rename fails if files are in different filesystems,
e.g. if /tmp is mounted as tmpfs.
2016-10-29 01:19:37 +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 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 38a5c97d0b skeleton: don't truncate index.html on write error
Write new version to a temporary file and rename it to index.html.
2016-07-12 11:37:22 +03:00
Boris Nagaev f1581d20bf make skeleton.py Python 3 compatible 2016-07-12 11:26:15 +03:00
Boris Nagaev 56ab126366 use $(TEST_FILE) in skeleton.py 2016-07-11 19:24:39 +03:00
Boris Nagaev 50b311964f skeleton: use SOURCE_DIR and BUILD_DIR
and do not mkdir build dir.
2016-07-11 09:32:10 +03:00
Boris Nagaev ff1867021c add tool skeleton.py
This tool creates a skeleton of new MXE package.
2016-07-10 18:41:35 +03:00