automake
[Top][All Lists]
Advanced

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

Re: Modifying installed script names ?


From: John Levon
Subject: Re: Modifying installed script names ?
Date: Sun, 22 Dec 2002 02:05:18 +0000
User-agent: Mutt/1.3.25i

On Fri, Dec 13, 2002 at 12:30:32PM +0100, Alexandre Duret-Lutz wrote:

> You could declare everybody using `noinst_SCRIPTS', and install
> them using a custom `install-exec-local' rule.

Thanks. I did :

noinst_SCRIPTS = $(OP_START) $(OP_STOP) $(OP_DUMP)

...

install-exec-local:
        $(INSTALL_SCRIPT) $(srcdir)/$(OP_START) $(DESTDIR)$(bindir)/op_start
        $(INSTALL_SCRIPT) $(srcdir)/$(OP_STOP) $(DESTDIR)$(bindir)/op_stop
        $(INSTALL_SCRIPT) $(srcdir)/$(OP_DUMP) $(DESTDIR)$(bindir)/op_dump

uninstall-local:
        rm -f $(DESTDIR)$(bindir)/op_start
        rm -f $(DESTDIR)$(bindir)/op_stop
        rm -f $(DESTDIR)$(bindir)/op_dump

It seems to work fine

regards
john
-- 
"ALL television is children's television."
        - Richard Adler 



reply via email to

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