LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2003, 02:52 PM   #1
Snabber
Member
 
Registered: Dec 2002
Posts: 76

Rep: Reputation: 15
Makefiles and shell variables


Hello, all. I am making a program Makefile. I would like to know how to use BASH shell variables in said Makefile. My overall problem is how to install my program files as an unprivlaged user. Is there a way to do this?? Thanks is advanced.
 
Old 08-06-2003, 12:23 AM   #2
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
You reference you shell variables as $(VARNAME) in a Makefile.

Your Makefile will have no problem installing files to directories
to which the user running the Makefile has write access.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cron and shell env variables lt_wentoncha SUSE / openSUSE 5 07-16-2005 02:20 PM
Sub shell environment variables tnine9 Programming 1 06-08-2004 02:27 PM
Why?? can not use variables with shell script Bassam Linux - General 9 01-27-2004 08:42 AM
Setting Shell variables tmoorman Linux - Software 6 11-19-2003 04:41 PM
Shell Variables. ducka Programming 5 09-03-2003 06:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration