Hi,

On Nov 17, 2007 9:10 PM, Francesco Namuri <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Il giorno sab, 17/11/2007 alle 20.34 +0100, Pawel Kot ha scritto:
> > Hi,
> >
> > On Nov 16, 2007 7:18 PM, Francesco Namuri <[EMAIL PROTECTED]> wrote:
> > > hi,
> > > I'm the maintainer of gnome-phone-manager,
> > > I'm trying to build the new version of gnome-phone-manager (0.40,
> > > another way to solve the problem is to add on debian/rules
> > >
> > > $(MAKE) -C common install-includes DESTDIR=$(CURDIR)/debian/gnokii/
> >
> > There's no way to make targets in makefile private or public, but the
> > ones that are intended to use are 'install' and 'install-devel'. They
> > both install all files that could be needed. So there's no need to
> > execute any extra make targets.
>
> ok, but I've seen the Makefiles and the only target that installs
> gnokii.pc is install-includes in common/Makefile.

common/Makefile:
install-devel: install
        $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
        $(INSTALL_DATA) gnokii.pc $(DESTDIR)$(libdir)/pkgconfig
        @echo "done"

Makefile:
INSTALL_INCLUDES = include \
                   common

install-includes:
        @for dir in $(INSTALL_INCLUDES); do \
                if [ -e $$dir/Makefile ]; then \
                        $(MAKE) -C $$dir install-devel; \
                fi; \
        done

install-devel: compile install-includes install-docs-devel

[At least this is gnokii CVS. I don't remember at the moment if I
changed it before 0.6.21 or after. Even if it was after it would be
better to adopt to the next release]

take care,
pkot
-- 
Pawel Kot



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to