On Wed, Apr 20, 2005 at 12:46:24PM +0200, Johnny Gonzalez wrote:
> Date: Wed, 20 Apr 2005 12:46:24 +0200 (CEST)
> From: Johnny Gonzalez <[EMAIL PROTECTED]>
> To: openca-users@lists.sourceforge.net
> Reply-To: openca-users@lists.sourceforge.net
> Subject: Re: [Openca-Users] strange behaviour installing OpenCA
> 
>    Hello Alexei, thanks for your interest in this issue.
>    
>    The files have been sucessfully created in the:
>    "/usr/local/src/openca-0.9.2.2/src/scripts"  directory. There I see not
>    only the *.in files but also the scripts without extension, This is the
>    place from where I have to manually copy the scripts to the
>    "/usr/local/bin" directory, I copy all scripts that don't have the "in"
>    extension. :-(, so they have successfully been created, but not copied to
>    their respective location.
>    
>    What do you think?
>    
>      > >in make-install:
>      > >
>      > >make scripts SUBTARGET=install
>      > >make[4]: Cambiando a directorio
>      > >`/usr/local/src/openca-0.9.2.2/src'
>      > >cd scripts && make install
>      > >make[5]: Cambiando a directorio
>      > >`/usr/local/src/openca-0.9.2.2/src/scripts'
>      > >make[5]: No se hace nada para `install'.
>      > >make[5]: Saliendo directorio
>      > >`/usr/local/src/openca-0.9.2.2/src/scripts'

 That's strange, on my machine in make install I have:
cd scripts && make install
make[2]: Entering directory
`/home/lex/lex/src/openca/working/0922/openca-0.9.2.2.2/src/scripts'
/usr/bin/install -c -o root -g root -m 755 openca-addcert 
/tmp/usr/bin/openca-addcert
/usr/bin/install -c -o root -g root -m 755 openca-backup 
/tmp/usr/bin/openca-backup
/usr/bin/install -c -o root -g root -m 755 openca-configure 
/tmp/usr/bin/openca-configure
...
/usr/bin/install -c -o root -g root -m 755 openca-unrevoke 
/tmp/usr/bin/openca-unrevoke
make[2]: Leaving directory
`/home/lex/lex/src/openca/working/0922/openca-0.9.2.2.2/src/scripts'
cd web-interfaces && make install

  I've attached Makefile which I use, maybe it differ from yours. What
happens is very strange, and I don't have any ideas.

  Best wishes

--
Alexei Chetroi

Smile... Tomorrow will be worse. (c) Murphy's Law
# file: src/scripts/Makefile
#
# © 2001 OpenCA Group

TOP     = ../..
include $(TOP)/Makefile.global-vars

# scripts derived from .in files:
AC_SCRIPTS      = \
        openca-addcert          \
        openca-backup           \
        openca-configure        \
        openca-dblist           \
        openca-digest           \
        openca-importcerts      \
        openca-browserexp       \
        openca-dbview           \
        openca-importreqs       \
        openca-dbbuild          \
        openca-getcert          \
        openca-newcert          \
        openca-dbcreate         \
        openca-getitem          \
        openca-unrevoke

SCRIPTS         = $(AC_SCRIPTS)

#---- variable settings above, rules below ----

.PHONY: default test install install-ca install-common install-ldap 
install-node install-pub install-ra clean distclean

default::

test::

# common for both CA and external server:
install-ca install-ra:  install

# here is nothing to do
install-common:
install-ldap:
install-node:
install-pub:
install-scep:

install::       $(SCRIPTS)

$(SCRIPTS)::    $(DEST_BINDIR)
                $(INSTALL) -o ${openca_user} -g ${openca_group} -m 755 $@ 
$(DEST_BINDIR)/$@

$(DEST_BINDIR):
        $(MAKE) __install_dir USER=${openca_user} GROUP=${openca_group} 
MODE=755 DIR=$@

clean::

distclean::
        $(RM) $(AC_SCRIPTS)

Reply via email to