Ver código fonte

Updated Makefile to include newest foohid release

Thomas Buck 8 anos atrás
pai
commit
af60c5feea
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 5 adições e 2 exclusões
  1. 5
    2
      Makefile

+ 5
- 2
Makefile Ver arquivo

46
 # Download foohid binary dependency
46
 # Download foohid binary dependency
47
 build/foohid.pkg:
47
 build/foohid.pkg:
48
 	@mkdir -p build
48
 	@mkdir -p build
49
-	curl -o build/foohid.pkg \
50
-		-L https://github.com/unbit/foohid/releases/download/0.1/foohid.pkg
49
+	curl -o build/foohid.dmg \
50
+		-L https://github.com/unbit/foohid/releases/download/0.2.1/foohid-0.2.1.dmg
51
+	hdiutil attach build/foohid.dmg
52
+	cp /Volumes/foohid/foohid-0.2.1.pkg build/foohid.pkg
53
+	umount /Volumes/foohid
51
 
54
 
52
 # Create installer pkg for our App
55
 # Create installer pkg for our App
53
 build/SerialGamepad.pkg: build/Release/SerialGamepad.app
56
 build/SerialGamepad.pkg: build/Release/SerialGamepad.app

Carregando…
Cancelar
Salvar