$OpenBSD: patch-client_help_C_Makefile_in,v 1.1.1.1 2002/12/23 07:23:48 pvalchev Exp $
--- client/help/C/Makefile.in.orig	Sun Aug 27 12:46:33 2000
+++ client/help/C/Makefile.in	Sun Dec 22 14:29:54 2002
@@ -247,16 +247,16 @@ dist-hook:
 
 # No-op if db2html failed
 install-data-local: index.html
-	$(mkinstalldirs) $(helpdir)/images
+	$(mkinstalldirs) $(DESTDIR)$(helpdir)/images
 	files=`echo $(srcdir)/gnocatan/*.html $(srcdir)/gnocatan/*.css`; \
 	if test "$$files" != '$(srcdir)/gnocatan/*.html $(srcdir)/gnocatan/*.css'; then \
 	  for file in $$files; do \
 	    basefile=`echo $$file | sed -e 's,^.*/,,'`; \
-	    $(INSTALL_DATA) $$file $(helpdir)/$$basefile; \
+	    $(INSTALL_DATA) $$file $(DESTDIR)$(helpdir)/$$basefile; \
 	  done; \
 	fi
 	-for file in $(srcdir)/images/*.gif; do \
-	$(INSTALL_DATA) $(srcdir)/$$file $(helpdir)/images;\
+	$(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(helpdir)/images;\
 	done
 
 gnocatan.ps: gnocatan.sgml
