[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: install-local target?
From: |
Karl Berry |
Subject: |
Re: install-local target? |
Date: |
Sat, 18 Apr 2009 13:57:36 -0500 |
Hi Ralf,
maybe install-hook would be better,
Sure.
- It isn't clear to me what should happen if the user typed
make install-data
or
make install-exec
only. Letting the hook run after one of them only seems clearly wrong.
Yes, that would be wrong.
Not running it at all would require some sort of `post-install' target
Sorry, I don't understand all these complications. I didn't intend you
to go down any of those roads. I was thinking of something simple:
install: install-data install-exec
$(MAKE) install-hook
Or it could be a variable:
install: install-data install-exec
$(POST_INSTALL_HOOK)
Can you work around it (or have already done so)
I worked around it by adding the rules to a different top-level target
("world"), which my TeX builders are accustomed to using anyway. This
is suboptimal.
by simply adding
install-{data,exec}-local
I don't see how I can use install-{data,exec}-local to accomplish this.
The command has to run once, after both install-data and install-exec
have finished.
It's certainly not the end of the world if it seems too complicated to
you for any reason.
Thanks,
Karl