LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2008, 08:30 AM   #1
lyngsie
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
How to issuing a alias command from within a makefile


Hi all,

In one of my makefile I need to execute a command that is a alias in the Linux system. When I do that it get the an error message.

The related part of the makefile lock like (in the example I just use the ll command).

env_setup:
ll

then when I do

>make env_setup

I get the following output

ll
make: execvp: ll: Permission denied
make: *** [env_setup] Error 127


So how do i issue an alias command from within a makefile?

Thanks in advance
Mogens Lyngsie.
 
Old 09-22-2008, 05:56 PM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
The easiest (though maybe not the most efficient) way to do it would be just to expand out the alias.
 
  


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
tar command alias command rlg Linux - Newbie 0 03-11-2008 08:21 AM
Issuing find command to search for string keysorsoze Linux - Newbie 4 11-30-2007 01:06 AM
prints should go in queue by issuing print command. bhagi123 Linux - Software 0 02-24-2006 06:18 AM
strange output whan issuing the command find juanb Linux - General 2 09-21-2005 09:36 PM
what command is KPPP issuing? jlangelier Linux - Software 3 08-26-2004 02:24 AM


All times are GMT -5. The time now is 10:58 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration