Building command-line apps system-wide
Building command-line apps system-wide
- Subject: Building command-line apps system-wide
- From: William Squires <email@hidden>
- Date: Fri, 09 May 2014 10:18:58 -0500
Okay, I've (mostly) finished by command-line app and tested it locally via Terminal.app. I then used
%sudo cp DateCalc /bin
...
<entered password>
Í /bin
%sudo chown root:wheel DateCalc
%
and I can now call my DateCalc app from any terminal session. Question: how do I get Xcode to build to this location directly? Is it even possible to tell Xcode to use sudo to copy into the restricted /bin system directory, and to do the chown every time I re-build (in case I want to add features to it) this project?
Also, having done so, how can I make a man page for it? Is there a tool for making man pages? Is that what the .1 file in the project is for?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden