[Banshee-List] Apparent problem with intalling help



I'm trying to follow this:

http://banshee.fm/contribute/write-extensions/

and it is proving quite difficult I admit. I am still on step 1:



So I cloned the latest banshee form github, and then the obligatory
./autogen.sh && make and got all the dependencies sorted with some effort.
But now I'm trying to do "make install".

It was bombing on the help install alas. And I could see why after time
consuming efforts to diagnose, and it is because help/Makefile there is a
loop that runs over the product of pages and locales. But the sources only
include all help file sunder C and under each other local a .po file only at
present, so the line:

$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \

fails, and at end of this Makefile the overarching make stops.

I fixes this provisionally (not lastingly as Makefile is derived from
Makefile.am I think) but encapsulating it in a test for existence of the
source file:

install-doc-docs:
        @for lc in C $(_DOC_REAL_LINGUAS); do \
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc"; \
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc; \
        done
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
*               if test -f "$$d$$doc"; then \
*                 docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e
'/\//!s/.*//'`; \
                  docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \
                  if ! test -d "$$docdir"; then \
                    echo "$(mkinstalldirs) $$docdir"; \
                    $(mkinstalldirs) "$$docdir"; \
                  fi; \
                  echo "$(INSTALL_DATA) $$d$$doc
$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
                  $(INSTALL_DATA) $$d$$doc
$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \
*               fi; \
*       done

It then installs fine, and "make install" continues on its merry way to bomb
much later when installing Banshee.GStreamerSharp but I'll ask about that in
another post.

My question here, as an admitted newb is, why this glaring problem with
"make install"? Are none of the contributing developers experiencing this?
Is this system specific? Do some Makes pass over the failure without
bombing? While mine (Linux MINT 17.2) bombs?

I'm just keen to understand why what looked like an invitingly simple thing
here:

http://banshee.fm/contribute/write-extensions/

is proving so complicated and difficult basically.

Anyhow with the time and motivation to help me understand is a friend ;-).

Regards,

Bernd.




--
View this message in context: 
http://banshee-media-player.2283330.n4.nabble.com/Apparent-problem-with-intalling-help-tp4652425.html
Sent from the Banshee Media Player mailing list archive at Nabble.com.


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