Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 14:18:10 +0200
From:      =?ISO-8859-1?Q?Gr=FCnewald_Micha=EBl?= <michaelgrunewald@yahoo.fr>
To:        Polytropon <freebsd@edvax.de>
Cc:        Roland Smith <rsmith@xs4all.nl>, freebsd-questions@freebsd.org, Lars Eighner <luvbeastie@larseighner.com>
Subject:   Re: General and specific make questions
Message-ID:  <47254991-D6E3-4EFA-B940-09EFDE8C07A8@yahoo.fr>
In-Reply-To: <20090608232056.317b509d.freebsd@edvax.de>
References:  <20090607235205.H85986@qroenaqrq.6qbyyneqvnyhc.pbz> <20090608201217.GD34213@slackbox.xs4all.nl> <20090608232056.317b509d.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

Le 8 juin 09 =E0 23:20, Polytropon a =E9crit :

> On Mon, 8 Jun 2009 22:12:17 +0200, Roland Smith <rsmith@xs4all.nl> =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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47254991-D6E3-4EFA-B940-09EFDE8C07A8>