[arch-general] [SOLVED] Re: howto debug why package() make install doesn't copy one file to $pkgdir?

David C. Rankin drankinatty at suddenlinkmail.com
Wed Feb 2 13:13:09 EST 2011


On 02/01/2011 10:38 AM, David C. Rankin wrote:
> Guys,
>
>    The PKGBUILD for tqtinterface I'm working on seems to omit placing the file
> 'uic-tqt' in the $pkgdir when calling 'make DESTDIR="$pkgdir/" install'. What is
> strange is it seems all other parts of the package get put in $pkgdir.
>
>    The qtinterface Makefile.am specifies uic-tqt should be part of the install:
>
> install-exec-local:
>          test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
>          cp -Rp "$(srcdir)/tqt-replace" "$(DESTDIR)$(bindir)/"
<snip>
>          cp -Rp "$(srcdir)/uic-tqt" "$(DESTDIR)$(bindir)/"

The problem is in the Makefile.am itself. uic-tqt is provided as a bash script 
and not something built by configure, make, make install. The location with 
regard to the ${srcdir} is actually '../qtinterface/uic-tqt' or 
'${startdir}/qtinterface/uic-tqt'. So that's why it gets missed and must be 
copied manually.

-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list