diff --exclude='*~' --exclude='.*' -I '$Id:' -urN ZThread-2.3.1.orig/Makefile.am ZThread-2.3.1/Makefile.am --- ZThread-2.3.1.orig/Makefile.am 2005-11-29 17:56:05.000000000 -0500 +++ ZThread-2.3.1/Makefile.am 2005-11-29 18:22:38.000000000 -0500 @@ -8,14 +8,14 @@ ## install the config script install-exec-hook: - $(mkinstalldirs) $(bindir) - $(INSTALL_PROGRAM) $(top_srcdir)/share/zthread-config $(bindir) + $(mkinstalldirs) $(DESTDIR)$(bindir) + $(INSTALL_PROGRAM) $(top_srcdir)/share/zthread-config $(DESTDIR)$(bindir) ## install the config script & m4 macros install-data-hook: - $(mkinstalldirs) $(datadir)/aclocal - $(INSTALL_DATA) $(top_srcdir)/share/zthread.m4 $(datadir)/aclocal - $(INSTALL_DATA) $(top_srcdir)/share/pthread.m4 $(datadir)/aclocal + $(mkinstalldirs) $(DESTDIR)$(datadir)/aclocal + $(INSTALL_DATA) $(top_srcdir)/share/zthread.m4 $(DESTDIR)$(datadir)/aclocal + $(INSTALL_DATA) $(top_srcdir)/share/pthread.m4 $(DESTDIR)$(datadir)/aclocal mkdir -p $(DESTDIR)$(includedir)/zthread cp -pR $(top_srcdir)/include/zthread $(DESTDIR)$(includedir)/