From owner-freebsd-questions@FreeBSD.ORG Sat Oct 2 06:02:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E8F21065673 for ; Sat, 2 Oct 2010 06:02:45 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id D98728FC26 for ; Sat, 2 Oct 2010 06:02:44 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o9262guW035711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 2 Oct 2010 01:02:43 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o9262gET059874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 2 Oct 2010 01:02:42 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id o9262foc059522; Sat, 2 Oct 2010 01:02:41 -0500 (CDT) (envelope-from dan) Date: Sat, 2 Oct 2010 01:02:41 -0500 From: Dan Nelson To: Paul B Mahol Message-ID: <20101002060241.GF40148@dan.emsphone.com> References: <1285967910.14091.81.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.1-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Sat, 02 Oct 2010 01:02:43 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: Chetan Shukla , Devin Teske , "freebsd-questions@freebsd.org" Subject: Re: How to check version of Make in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 06:02:45 -0000 In the last episode (Oct 01), Paul B Mahol said: > On 10/1/10, Devin Teske wrote: > > On 10/1/10, Chetan Shukla wrote: > >> > I need to check the version of Make installed in FreeBSD. make -v > >> > does not help here. > >> > What is the similar command in FreeBSD ? > >> > >> On Fri, 2010-10-01 at 18:33 +0000, Paul B Mahol wrote: > >> gmake. On serious side there is no way to find version and freebsd make > >> havent changed much in years... > > > > On the command-line... > > > > strings `which make` | grep -B1 MAKE_VERSION > > > > Or in a makefile... > > > > /usr/tmp/Makefile: > > all: > > @echo "MAKE_VERSION='$(MAKE_VERSION)'" > > > > make > > MAKE_VERSION='5200408120' > > Nice. Even nicer: make -V MAKE_VERSION Not that the version really helps; there have been many additions to make since 2004. -- Dan Nelson dnelson@allantgroup.com