1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Improve make dist for windows target

* Change dist target for windows to only include the two binaries
   that work, uploader and checker. And prepare for selected docs.
This commit is contained in:
Bernhard Reiter 2022-05-11 12:16:31 +02:00
parent 3f9feca31d
commit bb6b8d15d4
No known key found for this signature in database
GPG key ID: 2B7BA3BF9BC3A554

View file

@ -71,8 +71,11 @@ build_linux build_win:
DISTDIR := csaf_distribution-$(SEMVER)
dist: build_linux build_win
mkdir -p dist
mkdir dist/$(DISTDIR)-windows-amd64
cp -r README.md docs bin-windows-amd64 dist/$(DISTDIR)-windows-amd64
mkdir -p dist/$(DISTDIR)-windows-amd64/bin-windows-amd64
cp README.md dist/$(DISTDIR)-windows-amd64
cp bin-windows-amd64/csaf_uploader.exe bin-windows-amd64/csaf_checker.exe dist/$(DISTDIR)-windows-amd64/bin-windows-amd64/
mkdir -p dist/$(DISTDIR)-windows-amd64/docs
#cp docs/csaf_uploader.md docs/csaf_checker.md dist/$(DISTDIR)-windows-amd64/docs
mkdir dist/$(DISTDIR)-gnulinux-amd64
cp -r README.md docs bin-linux-amd64 dist/$(DISTDIR)-gnulinux-amd64
cd dist/ ; zip -r $(DISTDIR)-windows-amd64.zip $(DISTDIR)-windows-amd64/