Rather than this: nobase_pkgdata_DATA += frysk/pkgdatadir/test-sysroot/usr/lib/debug/$(abspath frysk/pkglibdir/fu nit-addresses.debug) frysk/pkgdatadir/test-sysroot/usr/lib/debug/$(abspath frysk/pkglibdir/funit-addresses.debug): f rysk/pkgdatadir/test-sysroot/$(abspath frysk/pkglibdir/funit-addresses) mkdir -p $(abspath frysk/pkgdatadir/test-sysroot/usr/lib/debug/)/$(abspath frysk/pkglib dir) eu-strip --remove-comment -f $@ $< install-data-hook: mv $(datarootdir)/frysk/frysk/pkgdatadir/test-sysroot $(datarootdir)/frysk rmdir $(datarootdir)/frysk/frysk/pkgdatadir rmdir $(datarootdir)/frysk/frysk # we don't want this installed, but noinst_SCRIPTS has no effect rm $(libdir)/frysk/gen-type-funit-tests do something like this: install-data-local: install-dogtail-scripts-local uninstall-local: uninstall-dogtail-scripts-local .PHONY: install-dogtail-scripts-local uninstall-dogtail-scripts-local install-dogtail-scripts-local: set -e ; \ ( \ cd $(srcdir)/frysk/gui/test ; \ find dogtail_scripts \ -name CVS -prune \ -o -type f -print \ | tar cTf - - \ ) | ( \ cd $(DESTDIR)$(pkgdatadir) ; \ tar xpf - \ ) cp -p -f frysk/gui/test/dogtail_scripts/frysk_suite.py \ $(DESTDIR)$(pkgdatadir)/dogtail_scripts uninstall-dogtail-scripts-local: rm -rf $(DESTDIR)$(pkgdatadir)/dogtail_scripts (from frysk-gui/Makefile.am)
Move installation of test-sysroot to pkglibdir. * Makefile.am (pkglib_PROGRAMS): Add funit-addresses-stripped. Remove nobase_pkgdata_DATA.
Note the use of: cd $(DESTDIR)$(pkgdatadir) ; \ DESTDIR as a second prefix.
2008-01-31 Stan Cox <scox@redhat.com> * Makefile.am (install-sysroot-local): Use DESTDIR, consider ARCH32.
I've tried to package frysk with git source, and it works fine :) Thanks a lot for fixing this bug. trem