(examples are probably useful for the archive, too)

rank1see...@gmail.com writes:

>> According to make(1) manpage, it reads BSDmakefile, makefile or Makefile
>> unless -f is specified.
>
> Well, via STDIN, I've attempted to feed it, with syntaks from a 'make.conf' 
> file, so I wouldn't have to provide file, via __MAKE_CONF.

So, did the example with __MAKE_CONF=/dev/stdin help? It allows you to
omit specifying makefile via `-f' or `.include'. More examples

  # append CFLAGS by overriding make.conf
  $ echo 'CFLAGS += -DDEBUG_LOCKS' | __MAKE_CONF=/dev/stdin make buildworld

  # append make.conf even if __MAKE_CONF is defined but empty
  $ (cat ${__MAKE_CONF-/etc/make.conf} /dev/null; echo 'CFLAGS += 
-DDEBUG_LOCKS') \
      | __MAKE_CONF=/dev/stdin make buildworld
  
> Looking again in man pages, I see that -f flag relates to Makefile syntaks 
> and NOT to the make.conf.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to