Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow executing the makefile from other directories #19

Merged
merged 1 commit into from
Feb 11, 2012

Conversation

omorandi
Copy link
Contributor

By creating an alias like the following:

alias maketi='make -f /patht/to/MakeTi/Makefile'

there's no need to copy the repo in each Ti project

@mattapperson
Copy link
Contributor

This needs to be optional before I can merge it in... aka when the flag is set, use it, else use the project dir variable

@omorandi
Copy link
Contributor Author

With this change the makefile would work seamlessly in either case.
The MAKETI_DIR variable will always point to the directory containing the Makefile, so when the MakeTi files are copied in a Ti project, it will point to the enclosing project directory (as expected). My point however is making the bin/titanium.sh script correctly executable also when the makefile is invoked from a Ti project directory not containing the MakeTi makefile + support scripts....

@mattapperson
Copy link
Contributor

Ahh I see what you did there :)

mattapperson added a commit that referenced this pull request Feb 11, 2012
Allow executing the makefile from other directories
@mattapperson mattapperson merged commit 954d434 into appersonlabs:master Feb 11, 2012
@omorandi
Copy link
Contributor Author

;-) thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants