Basic app installer question

62 views
Skip to first unread message

Steve Yuroff

unread,
Feb 6, 2014, 9:03:42 PM2/6/14
to the-l...@googlegroups.com
Hi all,

Working on making an installer that copies the vendor's app to Applications, and the license file.  I'm not yet clear what error is leading to my "no rule to make target" error, but let's start with the simple one: if my app has a space, shouldn't that be handled with a standard \ escaping?

As in:
PAYLOAD=\
unbz2-applications-Art\ View.app\
install-license

?

Yes, we're starting basic here...

Nathan Felton

unread,
Feb 6, 2014, 9:12:43 PM2/6/14
to the-l...@googlegroups.com
Looking through some of my Makefiles, looks like you need something more like:

"unbz2-applications-Art\\ View.app"

Note the double quotes and the double backslash.


--
You received this message because you are subscribed to the Google Groups "The Luggage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to the-luggage...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Nathan Felton

Geordie Korper

unread,
Feb 6, 2014, 9:32:45 PM2/6/14
to the-l...@googlegroups.com, the-l...@googlegroups.com
And that is why I rewrote basically every function in my version of the luggage to quote strings at the time they call something outside of make. I even had a name for it in my read me, JITQ (just in time quoting). I jokingly call my version No Baggage.

Sent from my iPhone

Steve Yuroff

unread,
Feb 6, 2014, 9:58:41 PM2/6/14
to the-l...@googlegroups.com
Yep, that got me through the first error, and onto fresh ones. :)  Thanks Nate, nowhere did I find documentation or examples on that.

Nathan Felton

unread,
Feb 6, 2014, 10:04:28 PM2/6/14
to the-l...@googlegroups.com
A Luggage clean up is on my to-do list. Hopefully with my new position at my job I will have some time to actually do it.

Steve Yuroff

unread,
Feb 6, 2014, 10:33:12 PM2/6/14
to the-l...@googlegroups.com
While we're here, simple app installer section 2: the license file.  It's sitting in the base folder, as Art View.license.  It needs to end up in 
/Library/Application Support/Code Line/Art View

I think I'm in the neighborhood here, but not there yet.  

install-license: l_I_don_get_how_to_name_this_part
@sudo mkdir -p ${WORK_D}/Library/Application\ Support/Code\ Line/Art\ View
@sudo chmod -R 755 ${WORK_D}/Library/Application\ Support/Code\ Line/Art\ View
@sudo ${CP} ./Art\ View.license ${WORK_D}/Library/Application\ Support/Code\ Line/Art\ View/Art View.license

How far off am I?

Allister Banks

unread,
Feb 6, 2014, 10:48:32 PM2/6/14
to the-l...@googlegroups.com
I found in some cases I needed to build each custom(for everything not already defined in luggage.make) subfolder in a separate stanza(like for LocalMCX), but if you recall that Crashplan prep package luggage makefile we made a while back, this should do it:
prep-license-dir: l_Library_Application_Support
@sudo mkdir -p ${WORK_D}/Library/Application\ Support/Code\ Line/Art\ View

pack-ArtView-license:
@sudo ${CP} tehLicense ${WORK_D}/Library/Application\ Support/Code\ Line/Art\ View/Art\ View.license
@sudo chown -R root:admin ${WORK_D}/Library/Application\ Support/Code\ Line/Art\ View
@sudo chmod -R 755 ${WORK_D}/Library/Application\ Support/Code\ Line/Art\ View

Allister

Reply all
Reply to author
Forward
0 new messages