LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 12-14-2003, 07:07 AM   #1
powadha
Member
 
Registered: Nov 2003
Distribution: Debian SID
Posts: 645
Thanked: 0
kswaret 'make distclean'


[Log in to get rid of this advertisement]
I'm trying to install kswaret as a frontend for swaret. In the readme a command ' make distclean' is given.
Doesn't seem to work I get a:

bash-2.05b# make distclean
make: *** No rule to make target `distclean'. Stop.
bash-2.05b#

Am I missing something here?
powadha is offline     Reply With Quote
Old 12-14-2003, 03:30 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: atop the Blue Ridge
Distribution: Debian Lenny, CentOS 5.2
Posts: 7,250
Thanked: 31
" In the readme a command ' make distclean' is given. "

The developer can set the makefile up any way that he wants. Most developers use the command "make clean". Try make clean and see if that works. Otherwise you can look at the make command with a text editor and see what the developer really provided.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
jailbait is offline     Reply With Quote
Old 12-20-2003, 06:39 PM   #3
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288
Thanked: 0
Tried make distclean, as well as make clean, none of them work...
tried ignoring that, and just going
qmake
make install

still didnt work... =/
xushi is offline     Reply With Quote
Old 12-20-2003, 07:01 PM   #4
powadha
Member
 
Registered: Nov 2003
Distribution: Debian SID
Posts: 645
Thanked: 0

Original Poster
after that run ./kswaret in the install dir. Only way to get it going
powadha is offline     Reply With Quote
Old 12-20-2003, 07:16 PM   #5
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 12,877
Thanked: 232
Read the makefile. You can tell what the targets are. make clean is used to remove temporary object files that are no longer needed. If the make distclean mentioned in the readme was given after the make step, it may not be needed for the program to run, you may just have files around wasting space.

By convention the steps for installing a program from a tarball are:
Code:
1) untar the archive in your home space & cd to the produced directory.
   [b]tar xvzf <filename.tgz>
2) ./configure
3) make
4) su
    <root password>
5) make install
Then the directory produced can be deleted, keeping the original tarball around for emergencies.

Make clean is usually used when you need to keep the source around, as in the kernel source. It guarantees that all of the source files will get re-compiled during the next make.

It would be nice if software authors would stick to convention unless there was a good reason not to!

Last edited by jschiwal; 12-20-2003 at 07:19 PM..
jschiwal is offline     Reply With Quote
Old 12-20-2003, 07:20 PM   #6
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288
Thanked: 0
weird... when on the laptop, it refuses to work..
but i just SSHed into it, and ran
make distclean
and it worked...

powadha: just copy kswaret into your local bin directory and it will run wherever you type kswaret.
cp kswaret /usr/local/bin/
xushi is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
what is the difference between make distclean and make clean? alice95089 Linux - Software 3 08-28-2008 02:22 AM
Kswaret joe83 Slackware 3 09-23-2004 03:53 PM
what does make distclean do? danahata Linux - General 1 08-26-2003 04:49 PM
Kernel compilation, clean vs distclean Kocil Linux - Software 2 08-12-2003 09:29 AM
Problem with "make distclean" moose1618 Linux - Software 3 03-21-2002 09:03 PM


All times are GMT -5. The time now is 04:59 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration