mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +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:
parent
3f9feca31d
commit
bb6b8d15d4
1 changed files with 5 additions and 2 deletions
7
Makefile
7
Makefile
|
|
@ -71,8 +71,11 @@ build_linux build_win:
|
||||||
DISTDIR := csaf_distribution-$(SEMVER)
|
DISTDIR := csaf_distribution-$(SEMVER)
|
||||||
dist: build_linux build_win
|
dist: build_linux build_win
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
mkdir dist/$(DISTDIR)-windows-amd64
|
mkdir -p dist/$(DISTDIR)-windows-amd64/bin-windows-amd64
|
||||||
cp -r README.md docs bin-windows-amd64 dist/$(DISTDIR)-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
|
mkdir dist/$(DISTDIR)-gnulinux-amd64
|
||||||
cp -r README.md docs bin-linux-amd64 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/
|
cd dist/ ; zip -r $(DISTDIR)-windows-amd64.zip $(DISTDIR)-windows-amd64/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue