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

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



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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux