From owner-freebsd-questions@FreeBSD.ORG Tue Jun 9 12:19:01 2009 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 5A888106567E for ; Tue, 9 Jun 2009 12:19:01 +0000 (UTC) (envelope-from michaelgrunewald@yahoo.fr) Received: from amazone2.ujf-grenoble.fr (amazone2.ujf-grenoble.fr [152.77.2.202]) by mx1.freebsd.org (Postfix) with ESMTP id E1F2E8FC2E for ; Tue, 9 Jun 2009 12:19:00 +0000 (UTC) (envelope-from michaelgrunewald@yahoo.fr) Received: from tana1.ujf-grenoble.fr (tana1.ujf-grenoble.fr [152.77.18.74]) by amazone2.ujf-grenoble.fr (8.13.7/8.13.7/Configured by JE 21 07 2006) with ESMTP id n59CIqAa050356; Tue, 9 Jun 2009 14:18:58 +0200 (CEST) Received: from localhost (unknown [127.0.0.1]) by tana1.ujf-grenoble.fr (Postfix) with ESMTP id 8636856428; Tue, 9 Jun 2009 14:18:52 +0200 (CEST) X-UJF-AV: Scanned on tana1.ujf-grenoble.fr Received: from tibre1.ujf-grenoble.fr (tibre1.ujf-grenoble.fr [152.77.18.86]) by tana1.ujf-grenoble.fr (Postfix) with ESMTP id 47DE756420; Tue, 9 Jun 2009 14:18:52 +0200 (CEST) Received: from fourier.ujf-grenoble.fr (fourier.ujf-grenoble.fr [152.77.212.18]) by tibre1.ujf-grenoble.fr (8.14.2/8.14.2/SyS-1.10) with ESMTP id n59CInC9019843; Tue, 9 Jun 2009 14:18:52 +0200 (CEST) (envelope-from michaelgrunewald@yahoo.fr) Received: from localhost (localhost [127.0.0.1]) by fourier.ujf-grenoble.fr (Postfix) with ESMTP id 0FCFED01A0; Tue, 9 Jun 2009 14:18:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at fourier.ujf-grenoble.fr Received: from fourier.ujf-grenoble.fr ([127.0.0.1]) by localhost (fourier.ujf-grenoble.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uGVh58WjyrJW; Tue, 9 Jun 2009 14:18:53 +0200 (CEST) Received: from ifpoolext5.ujf-grenoble.fr (ifpoolext5.ujf-grenoble.fr [193.48.255.248]) by fourier.ujf-grenoble.fr (Postfix) with ESMTP id DDDD5D0147; Tue, 9 Jun 2009 14:18:53 +0200 (CEST) Message-Id: <47254991-D6E3-4EFA-B940-09EFDE8C07A8@yahoo.fr> From: =?ISO-8859-1?Q?Gr=FCnewald_Micha=EBl?= To: Polytropon In-Reply-To: <20090608232056.317b509d.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v935.3) Date: Tue, 9 Jun 2009 14:18:10 +0200 References: <20090607235205.H85986@qroenaqrq.6qbyyneqvnyhc.pbz> <20090608201217.GD34213@slackbox.xs4all.nl> <20090608232056.317b509d.freebsd@edvax.de> X-Mailer: Apple Mail (2.935.3) Cc: Roland Smith , freebsd-questions@freebsd.org, Lars Eighner Subject: Re: General and specific make questions 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: Tue, 09 Jun 2009 12:19:01 -0000 Le 8 juin 09 =E0 23:20, Polytropon a =E9crit : > On Mon, 8 Jun 2009 22:12:17 +0200, Roland Smith =20 > wrote: >> On Sun, Jun 07, 2009 at 11:52:17PM -0500, Lars Eighner wrote: >>> >>> What I need most is to find (a) make tutorial(s) that do not =20 >>> suppose make is >>> being used for compling c/c++ programs. Yes, I know, that is =20 >>> mostly why >>> make exists, but many tutorials plunge right into C examples with =20= >>> implicit C >>> rules, while -- it seems to me -- make could be much more useful =20 >>> for a >>> variety of things, and I could sure use more of the general and =20 >>> arbitrary >>> examples. >> >> I use make to e.g. build complex LaTeX documents with included =20 >> gnuplot >> graphs. Works like a charm. But that it is not conceptually different >> from compiling a C program. > > Correct. I do the same here. I also do use make to produce LaTeX documents. I even `published' my =20 collection of makefiles at https://gna.org/projects/bsdmakepscripts/ There is some terse indications for using these makefiles in a TeX =20 document: http://home.gna.org/bsdmakepscripts/tex.html (much more need to be written as usual). An interesting feature of =20 these scripts is the good integration of METAPOST and BIBTEX (this is =20= not yet exemplified). As you have guessed, make can be used for much more than C files =20 compilation, but as it has been pointed out, these other uses are not =20= conceptually different from the `C-case'. In fact in the typical way =20 of using a UNIX-like workstation, data is processed through a stack of =20= elementary treatments in order to obtain a final object (whether it is =20= a program, a PostScript file or a full web site). This is why make can =20= be viewed as the central part of the work with a UNIX-like workstation =20= (sharing its place with an editor of your choice). --=20 All the best, Micha=EBl