From: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Dependencies in leim/Makefile.in
Date: 29 Apr 2004 07:58:13 +0200 [thread overview]
Message-ID: <ufzanfhqi.fsf@gnu.org> (raw)
In-Reply-To: <200404290142.KAA27636@etlken.m17n.org> (message from Kenichi Handa on Thu, 29 Apr 2004 10:42:02 +0900 (JST))
> Date: Thu, 29 Apr 2004 10:42:02 +0900 (JST)
> From: Kenichi Handa <handa@m17n.org>
>
> TIT-GB=\
> quail/CCDOSPY.elc \
> quail/Punct.elc \
> quail/QJ.elc \
> quail/SW.elc \
> quail/TONEPY.elc
>
> Are there anyway to generate a variable that is equivalent
> to this without writing it directly:
I don't know, but we could ask Paul D. Smith, the GNU Make maintainer.
> With Gnu make, it seems that we can do:
>
> TIT-GB-SOURCE := $(TIT-GB:quail/%.elc=CXTERM-DIC/%.tit)
>
> But, is such a variable substitution generally available?
One idea is to get rid of the prefix directory in the source file
names (CXTERM-DIC in this case), by putting those directories into
VPATH, and then use an implicit dependency ".tit.elc:" and leave it to
Make to find the *.tit files. (Yes, I know that VPATH is also
unavailable in some flavors of Make, but I think it's more widespread
than the feature you used above.)
Even if no general solution is possible, we could use a GNU Make
specific one; that way, at least users of GNU Make will have a better
Makefile.
next prev parent reply other threads:[~2004-04-29 5:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-26 12:05 Dependencies in leim/Makefile.in Eli Zaretskii
2004-04-29 1:42 ` Kenichi Handa
2004-04-29 5:58 ` Eli Zaretskii [this message]
2004-05-01 5:51 ` Kenichi Handa
-- strict thread matches above, loose matches on Subject: below --
2004-05-04 1:27 Kenichi Handa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ufzanfhqi.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).