Commit f13ce210c9202e3b35fe7518f9d919858f6bd03d

Thomas de Grivel 2023-11-08T14:06:54

Clean up release

diff --git a/release/win64/Makefile b/release/win64/Makefile
deleted file mode 100644
index 3821a53..0000000
--- a/release/win64/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-
-DEST = c3-${C3_VERSION}.win64.tmp
-
-release: c3-${C3_VERSION}.win64.zip
-
-c3-${C3_VERSION}.win64.zip: c3-${C3_VERSION}.win64
-	rm c3-${C3_VERSION}.win64.zip
-	zip -r c3-${C3_VERSION}.win64.zip c3-${C3_VERSION}.win64
-
-c3-${C3_VERSION}.win64:
-	rm -rf ${DEST}
-	mkdir -p ${DEST}/test/ic3
-	cp -a ../README.md ${DEST}
-	cp -a /bin/msys-2.0.dll ${DEST}
-	cp -a /bin/msys-2.0.dll ${DEST}/test
-	cp -a /bin/msys-bsd-0.dll ${DEST}
-	cp -a /bin/msys-bsd-0.dll ${DEST}/test
-	cp -a /bin/msys-gcc_s-seh-1.dll ${DEST}
-	cp -a /bin/msys-gcc_s-seh-1.dll ${DEST}/test
-	cp -a /bin/msys-md-0.dll ${DEST}
-	cp -a /bin/msys-md-0.dll ${DEST}/test
-	cp -a ../libffi/.libs/libffi*.dll ${DEST}
-	cp -a ../libffi/.libs/libffi*.dll ${DEST}/test
-	cp -a ../libc3/.libs/msys-c3*.dll ${DEST}
-	cp -a ../libc3/.libs/msys-c3*.dll ${DEST}/test
-	cp -a ../lib ${DEST}/
-	cp -a ../c3s/.libs/c3s*.exe ${DEST}
-	cp -a ../ic3/.libs/ic3*.exe ${DEST}
-	cp -a ../test/.libs/libc3*.exe ${DEST}/test
-	cp -a ../test/ic3_test ${DEST}/test
-	cp -a ../test/*.facts ${DEST}/test
-	cp -a ../test/ic3/*.in ../test/ic3/*.expected ${DEST}/test/ic3
-	rm -rf c3-${C3_VERSION}.win64.old
-	mv c3-${C3_VERSION}.win64 c3-${C3_VERSION}.win64.old
-	mv ${DEST} c3-${C3_VERSION}.win64
-
-.PHONY: c3-${C3_VERSION}.win64 release
-
-include config.mk
diff --git a/release/win64/configure b/release/win64/configure
deleted file mode 100755
index 05c2502..0000000
--- a/release/win64/configure
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-## c3
-## Copyright 2022,2023 kmx.io <contact@kmx.io>
-##
-## Permission is hereby granted to use this software granted the above
-## copyright notice and this permission paragraph are included in all
-## copies and substantial portions of this software.
-##
-## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
-## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
-## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
-## THIS SOFTWARE.
-
-set -e
-
-export SRC_TOP="$(dirname "$(pwd)")"
-
-. ../config.subr
-
-C3_VERSION="$(cat ../c3.version)"
-echo "C3_VERSION = $C3_VERSION" >> ${CONFIG_MK}
-
-update_config_mk
diff --git a/win64/Makefile b/win64/Makefile
new file mode 100644
index 0000000..3821a53
--- /dev/null
+++ b/win64/Makefile
@@ -0,0 +1,39 @@
+
+DEST = c3-${C3_VERSION}.win64.tmp
+
+release: c3-${C3_VERSION}.win64.zip
+
+c3-${C3_VERSION}.win64.zip: c3-${C3_VERSION}.win64
+	rm c3-${C3_VERSION}.win64.zip
+	zip -r c3-${C3_VERSION}.win64.zip c3-${C3_VERSION}.win64
+
+c3-${C3_VERSION}.win64:
+	rm -rf ${DEST}
+	mkdir -p ${DEST}/test/ic3
+	cp -a ../README.md ${DEST}
+	cp -a /bin/msys-2.0.dll ${DEST}
+	cp -a /bin/msys-2.0.dll ${DEST}/test
+	cp -a /bin/msys-bsd-0.dll ${DEST}
+	cp -a /bin/msys-bsd-0.dll ${DEST}/test
+	cp -a /bin/msys-gcc_s-seh-1.dll ${DEST}
+	cp -a /bin/msys-gcc_s-seh-1.dll ${DEST}/test
+	cp -a /bin/msys-md-0.dll ${DEST}
+	cp -a /bin/msys-md-0.dll ${DEST}/test
+	cp -a ../libffi/.libs/libffi*.dll ${DEST}
+	cp -a ../libffi/.libs/libffi*.dll ${DEST}/test
+	cp -a ../libc3/.libs/msys-c3*.dll ${DEST}
+	cp -a ../libc3/.libs/msys-c3*.dll ${DEST}/test
+	cp -a ../lib ${DEST}/
+	cp -a ../c3s/.libs/c3s*.exe ${DEST}
+	cp -a ../ic3/.libs/ic3*.exe ${DEST}
+	cp -a ../test/.libs/libc3*.exe ${DEST}/test
+	cp -a ../test/ic3_test ${DEST}/test
+	cp -a ../test/*.facts ${DEST}/test
+	cp -a ../test/ic3/*.in ../test/ic3/*.expected ${DEST}/test/ic3
+	rm -rf c3-${C3_VERSION}.win64.old
+	mv c3-${C3_VERSION}.win64 c3-${C3_VERSION}.win64.old
+	mv ${DEST} c3-${C3_VERSION}.win64
+
+.PHONY: c3-${C3_VERSION}.win64 release
+
+include config.mk
diff --git a/win64/configure b/win64/configure
new file mode 100755
index 0000000..05c2502
--- /dev/null
+++ b/win64/configure
@@ -0,0 +1,23 @@
+#!/bin/sh
+## c3
+## Copyright 2022,2023 kmx.io <contact@kmx.io>
+##
+## Permission is hereby granted to use this software granted the above
+## copyright notice and this permission paragraph are included in all
+## copies and substantial portions of this software.
+##
+## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+## THIS SOFTWARE.
+
+set -e
+
+export SRC_TOP="$(dirname "$(pwd)")"
+
+. ../config.subr
+
+C3_VERSION="$(cat ../c3.version)"
+echo "C3_VERSION = $C3_VERSION" >> ${CONFIG_MK}
+
+update_config_mk