bug-hurd
[Top][All Lists]
Advanced

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

OT: missing script etc


From: Niels Möller
Subject: OT: missing script etc
Date: 21 Jan 2004 16:07:30 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"Alfred M. Szmidt" <ams@kemisten.nu> writes:

> Being able to run make and skip the generation of some `unimportant'
> part, like man-pages (thats how it is used in coreutils for example).

To do that, I think I'd put something like this in Makefile.am,

  MANTARGET = @MANTARGET@
  
  man-pages:
        ... rules to make man pages ...
  
  all-local: $(MANTARGET)

and then let configure substitute @MANTARGET@ as "man-pages" or ""
depending on the availability of the needed tools. That's quite
similar to how EXTRA_PROGRAMS is used.

/Niels




reply via email to

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