LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-17-2010, 11:09 PM   #1
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453
Blog Entries: 3

Rep: Reputation: 40
clean makefiles after calling ./configure


hello,

i guess this is an easy question,

how can you remove all the makefiles and whatnot and basically restore the source package to its original form after you've called "./configure" or even "make" ?

for instance you changed the source code then you ran ./configure then make then make install ....etc
you checked the software and it functioned as you expected it does , now you want to remove all the makefiles and all that other jizz that you don't need or want anymore in the source (obviously in order to package it for distribution)

what is the "standard" method for doing so?

cheers

P.S i hope my question isn't too weird ....lol
 
Old 08-17-2010, 11:47 PM   #2
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Hi, See if the following helps you !
Code:
make clean
make distclean
http://www.cs.utah.edu/dept/old/texi.../make_toc.html
 
Old 08-17-2010, 11:50 PM   #3
saifkhan123
Member
 
Registered: Apr 2009
Distribution: Red Hat/CentOS
Posts: 108

Rep: Reputation: 19
its a rocket science, isn't it?
 
0 members found this post helpful.
Old 08-17-2010, 11:59 PM   #4
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by saifkhan123 View Post
its a rocket science, isn't it?
Read the following quote:
Quote:
Do not post if you do not have anything constructive to say in the post.
It is the 4th bullet point from the below link:
http://www.linuxquestions.org/linux/rules.html
 
Old 08-18-2010, 07:31 AM   #5
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453

Original Poster
Blog Entries: 3

Rep: Reputation: 40
Quote:
Originally Posted by anishakaul View Post
Hi, See if the following helps you !
Code:
make clean
make distclean
http://www.cs.utah.edu/dept/old/texi.../make_toc.html
Yep , that did it !
thanks man...
 
Old 08-18-2010, 07:32 AM   #6
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by entz View Post
Yep , that did it !
thanks man...
You are most welcome, but I am not a *man*

EDIT
See the right corner of your first post and mark the thread solved.

Last edited by Aquarius_Girl; 08-18-2010 at 07:34 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash script calling makefiles with CFLAGS prepended paulcsf Linux - Software 5 02-06-2010 06:24 PM
clean up a ./configure Four Programming 3 07-20-2008 09:51 AM
hwo to clean up files after unsuccessful "./configure" b0nd Linux - Newbie 4 08-09-2005 01:03 PM
odd recursion: calling "by hand" vs calling by cronscript... prx Programming 4 02-12-2005 04:59 PM
generate Makefile from Makefile.in without calling ./configure ? chris78 Programming 2 05-02-2004 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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