LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 07: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, 04: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:51 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