LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-17-2010, 08:22 PM   #1
gachen
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
why makefile.in is in the source package


I am not sure whether I should ask this question here...

makefile.in a file that is generated by tool, why it is in the source package? I am asking since , when I modified Makefile.am, I need to run automake to update the makefile.in, while I don't think this should be done manually.
 
Old 05-19-2010, 06:11 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
It depends on the particular source package. Often the configure script uses Makefile.in to generate the Makefile. As you say, Makefile.in is generated from Makefile.am by automake. What makes you think you shouldn't have run automake?
 
Old 05-26-2010, 10:31 PM   #3
gachen
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Original Poster
Rep: Reputation: 0
It will be perfect if Makefile.in is auto-updated after Makefile.am is changed.(scripts can use time stamp to detect a Makefile.am is newer than generated Makefile.in)
And since automake will update all more file than Makefile.in, so the check-in needs more care.
 
  


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
can “source filename” be used in makefile? sidneyluo Linux - Newbie 3 05-09-2010 08:25 PM
How to install from source when there is no Configure/Makefile? linus72 Slackware 25 03-16-2009 12:14 PM
binary kernel package == source package ? narc Ubuntu 4 07-29-2007 09:28 AM
source an environment file in Makefile sharathkv Programming 3 04-05-2007 10:15 PM
modifying makefile after modified C source zerointeger Programming 6 10-06-2005 01:15 PM

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

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