--- Makefile.am 2006-03-19 14:40:47.000000000 +0100 +++ Makefile.am.oden 2006-03-19 14:41:31.000000000 +0100 @@ -215,10 +215,11 @@ honeyd_overload.c pyextend.c pyextend.h install-data-local: + mkdir -p $(DESTDIR)$(honeyddatadir) (cd $(top_srcdir) && tar -cf - $(top_srcdir)/webserver) | \ - (cd $(honeyddatadir) && tar -xf -) - find $(honeyddatadir)/webserver -type f | xargs chmod a+r - find $(honeyddatadir)/webserver -type d | xargs chmod a+xr + (cd $(DESTDIR)$(honeyddatadir) && tar -xf -) + find $(DESTDIR)$(honeyddatadir)/webserver -type f | xargs chmod a+r + find $(DESTDIR)$(honeyddatadir)/webserver -type d | xargs chmod a+xr CLEANFILES = *.so DISTCLEANFILES = *~