Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
NowthatisTV
Visitor

App.mk bug in Ubuntu and new version

App.mk helps to send the program fast to roku in command line using curl through "make install".
The "make install" has not been working here (Ubuntu 14.04.2 LTS).
I've changed the line:
@if [ "$(HTTPSTATUS)" == " 401" ]; \
TO
@if [ "$(HTTPSTATUS)" = " 401" ]; \
and worked.

I also added the statement:
DEVPASSWORD = rokudev
Because this is my password

And, of course, as the documentation says, i did it too:
export ROKU_DEV_TARGET=192.168.0.103 # roku's ip

I hope this may help someone else with the same problem on Ubuntu.

Follow the app.mk improved and a Makefile Example:

App.mk

[spoiler=Makefile:2j5wly68]#########################################################################
# Simple makefile for packaging Roku Custom Video Player application
#
# Makefile Usage:
# > make
# > make install
# > make remove
#
# Important Notes:
# To use the "install" and "remove" targets to install your
# application directly from the shell, you must do the following:
#
# 1) Make sure that you have the curl command line executable in your path
# 2) Set the variable ROKU_DEV_TARGET in your environment to the IP
# address of your Roku box. (e.g. export ROKU_DEV_TARGET=192.168.1.1.
# Set in your this variable in your shell startup (e.g. .bashrc)
##########################################################################
APPNAME = Folder_name
VERSION = 1.0

include ../app.mk[/spoiler:2j5wly68]
0 Kudos
1 REPLY 1
vikasamin
Visitor

Re: App.mk bug in Ubuntu and new version

That works replace "==" with "="
0 Kudos