Skip to content

Commit

Permalink
Add make dist target
Browse files Browse the repository at this point in the history
Produces a ZIP archive for release as dist/ndless.zip.
  • Loading branch information
Vogtinator committed Mar 15, 2023
1 parent d108b8f commit b401e50
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,13 @@ build-%: %

clean-%: %
$(MAKE) -C $< clean

dist: all
rm -rf dist
mkdir -p dist/ndless/samples
cp Mozilla-Public-License-v1.1.html README.md dist/ndless/
cp ndless/calcbin/* dist/ndless/
rm dist/ndless/downgradefix_3.9*.tns dist/ndless/ndless_installer_3.9.0_classic.tns
cp ndless-sdk/samples/*/*.tns dist/ndless/samples/
rm dist/ndless/samples/freetype_demo.tns
cd dist && 7z a ndless.zip ndless

0 comments on commit b401e50

Please sign in to comment.