Permalink
Browse files

windows distribution build (i can haz git)

  • Loading branch information...
1 parent c3134ce commit 26f73ef19fe22446bda02416c1b726ad16c2f1e5 @spencersalazar committed Oct 16, 2012
Showing with 14 additions and 8 deletions.
  1. +4 −2 .gitignore
  2. +6 −3 makefile
  3. +4 −3 notes/README-mac.txt
View
6 .gitignore
@@ -15,5 +15,7 @@
.DS_Store
*.tgz
-/chugins.opt
-/chugins.ncb
+/chugins.opt
+/chugins.ncb
+/chugins-windows-*
+/chugins-mac-*
View
9 makefile
@@ -27,7 +27,7 @@ install: $(CHUGS)
DATE=$(shell date +"%Y-%m-%d")
EXAMPLES=Bitcrusher/Bitcrusher-test.ck MagicSine/MagicSine-test.ck \
-ABSaturator/ABSaturator-test.ck
+ABSaturator/ABSaturator-test.ck KasFilter/README-KasFilter.ck
bin-dist-osx:
make osx
@@ -39,12 +39,15 @@ bin-dist-osx:
tar czf chugins-mac-$(DATE).tgz chugins-mac-$(DATE)
rm -rf chugins-mac-$(DATE)/
+WIN_CHUGS=$(foreach CHUG,$(CHUGINS),$(CHUG)/Release/$(CHUG).chug)
+
bin-dist-win32:
mkdir -p chugins-windows-$(DATE)/chugins/
mkdir -p chugins-windows-$(DATE)/examples/
cp -f notes/README-windows.txt chugins-windows-$(DATE)/
cp -rf $(EXAMPLES) chugins-windows-$(DATE)/examples/
- cp -rf $(CHUGS) chugins-windows-$(DATE)/chugins/
- tar czf chugins-windows-$(DATE).tgz chugins-windows-$(DATE)
+ cp -rf $(WIN_CHUGS) chugins-windows-$(DATE)/chugins/
+ rm -rf chugins-windows-$(DATE).zip
+ zip -q -9 -r -m chugins-windows-$(DATE).zip chugins-windows-$(DATE)
rm -rf chugins-windows-$(DATE)/
View
7 notes/README-mac.txt
@@ -6,9 +6,10 @@ This is the canonical set of ChuGins maintained and curated by Stanford CCRMA,
the developers of ChucK.
To install for all users of your computer, copy all of the files in the
-"chugins" directory to this file path:
-/Library/Application Support/ChucK/ChuGins
-You will need administrator privileges to do so.
+"chugins" directory to this directory:
+/Library/Application Support/ChucK/ChuGins/
+You may need administrator privileges to do so, and you may need to create
+this directory if it does not already exist.
If you do not have administrator privileges, you may instead install these
files to:

0 comments on commit 26f73ef

Please sign in to comment.