diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-10-11 11:53:36 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-10-11 11:53:36 +0200 |
commit | f30aee01f9db3f44cd05e1429a914a79192dd1b5 (patch) | |
tree | 0eb3e1a6ef33e4c56a2a29a2409511248c0831b1 | |
parent | 217c7c7b8d1f46ed0b4d8b8a4fbe1b10c0157a6a (diff) | |
download | yosys-f30aee01f9db3f44cd05e1429a914a79192dd1b5.tar.gz yosys-f30aee01f9db3f44cd05e1429a914a79192dd1b5.tar.bz2 yosys-f30aee01f9db3f44cd05e1429a914a79192dd1b5.zip |
Added "make dist" for mxe builds
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -309,6 +309,16 @@ qtcreator: { echo .; find backends frontends kernel libs passes -type f \( -name '*.h' -o -name '*.hh' \) -printf '%h\n' | sort -u; } > qtcreator.includes touch qtcreator.config qtcreator.creator +ifeq ($(CONFIG),mxe) +dist: $(TARGETS) $(EXTRA_TARGETS) + rm -rf yosys-win32-$(YOSYS_VER) + mkdir -p yosys-win32-$(YOSYS_VER) + cp -r yosys.exe share/ yosys-win32-$(YOSYS_VER)/ + echo -en 'This is Yosys $(YOSYS_VER) for Win32.\r\n' > yosys-win32-$(YOSYS_VER)/readme.txt + echo -en 'Documentation at http://www.clifford.at/yosys/.\r\n' >> yosys-win32-$(YOSYS_VER)/readme.txt + zip -r yosys-win32-$(YOSYS_VER).zip yosys-win32-$(YOSYS_VER)/ +endif + config-clean: clean rm -f Makefile.conf |