unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Makefile questions
@ 2010-10-07 15:13 Dan Nicolaescu
  2010-10-07 15:39 ` Andreas Schwab
  2010-10-09  2:13 ` Richard Stallman
  0 siblings, 2 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2010-10-07 15:13 UTC (permalink / raw)
  To: emacs-devel


Does anyone know why some variables in our Makefiles use $() and some ${} ?

For example in in src/Makefile.in there's a mixture of both:

LIBES = $(LIBS) $(LIBX_BASE) $(LIBX_OTHER) $(LIBSOUND) \
   $(RSVG_LIBS) ${IMAGEMAGICK_LIBS} $(DBUS_LIBS) \
   ${LIBXML2_LIBS} $(LIBGPM) $(LIBRESOLV) $(LIBS_SYSTEM) \
   $(LIBS_TERMCAP) $(GETLOADAVG_LIBS) ${GCONF_LIBS} ${LIBSELINUX_LIBS} \
   $(FREETYPE_LIBS) $(FONTCONFIG_LIBS) $(LIBOTF_LIBS) $(M17N_FLT_LIBS) \
   $(LIBGNUTLS_LIBS) \
   $(LIB_GCC) $(LIB_MATH) $(LIB_STANDARD) $(LIB_GCC)


Also why the ugly ${lispsource}loaddefs.el instead of ${lispsource}/loaddefs.el ?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Makefile questions
  2010-10-07 15:13 Makefile questions Dan Nicolaescu
@ 2010-10-07 15:39 ` Andreas Schwab
  2010-10-07 15:48   ` Dan Nicolaescu
  2010-10-09  2:13 ` Richard Stallman
  1 sibling, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2010-10-07 15:39 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

Dan Nicolaescu <dann@gnu.org> writes:

> Also why the ugly ${lispsource}loaddefs.el instead of ${lispsource}/loaddefs.el ?

Because double slashes are ugly.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Makefile questions
  2010-10-07 15:39 ` Andreas Schwab
@ 2010-10-07 15:48   ` Dan Nicolaescu
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2010-10-07 15:48 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

Andreas Schwab <schwab@linux-m68k.org> writes:

> Dan Nicolaescu <dann@gnu.org> writes:
>
>> Also why the ugly ${lispsource}loaddefs.el instead of ${lispsource}/loaddefs.el ?
>
> Because double slashes are ugly.

Would  there be any double slashes if lispsource is defined as:

lispsource = ${srcdir}/../lisp

and uses like:  ${lispsource}/loaddefs.el would be changed to:  ${lispsource}/loaddefs.el  ?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Makefile questions
  2010-10-07 15:13 Makefile questions Dan Nicolaescu
  2010-10-07 15:39 ` Andreas Schwab
@ 2010-10-09  2:13 ` Richard Stallman
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2010-10-09  2:13 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

    Does anyone know why some variables in our Makefiles use $() and some ${} ?

I think it is just a matter of two different styles that were
initially written by different people.  Nothing important.

    Also why the ugly ${lispsource}loaddefs.el instead of ${lispsource}/loaddefs.el ?

If lispsource ends in a slash, we don't want to add another one.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-09  2:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 15:13 Makefile questions Dan Nicolaescu
2010-10-07 15:39 ` Andreas Schwab
2010-10-07 15:48   ` Dan Nicolaescu
2010-10-09  2:13 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).