Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-05-2003, 01:52 PM   #1
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-05-2003, 11:23 PM   #2
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.


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 01:20 PM
Sub shell environment variables tnine9 Programming 1 06-08-2004 01:27 PM
Why?? can not use variables with shell script Bassam Linux - General 9 01-27-2004 07:42 AM
Setting Shell variables tmoorman Linux - Software 6 11-19-2003 03:41 PM
Shell Variables. ducka Programming 5 09-03-2003 05:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:04 PM.

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