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