automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

best practice advice, use of a custom local-clean target


From: Noah Slater
Subject: best practice advice, use of a custom local-clean target
Date: Mon, 18 Aug 2008 12:19:46 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

I have two targets, local-clean and distsign, here:

  http://svn.apache.org/repos/asf/incubator/couchdb/trunk/Makefile.am

I have a couple of questions:

 * Why do I need to create my own target to clean up the Makefile.in files and
   other sundry left overs? Should Automake not ideally clean this up for me?

 * Should I be using $(top_srcdir) in those rules or is it safe to assume that
   the target is being run from the top source directory?

I realise there may not be "correct" answers to these, but was mainly look for
some idea of best practice.

Thanks,

-- 
Noah Slater, http://bytesexual.org/nslater




reply via email to

[Prev in Thread] Current Thread [Next in Thread]