$NetBSD: patch-aa,v 1.4 2003/12/28 15:40:14 zuntum Exp $

--- doc/Makefile.in.orig	2002-12-26 05:14:54.000000000 +0100
+++ doc/Makefile.in
@@ -260,7 +260,8 @@ uninstall-man: uninstall-man1
 install-data-local:
 	mkdir -p $(DESTDIR)$(mandir)/man1
 	cd $(DESTDIR)$(mandir)/man1; for i in $(manlinks); do $(LN_S) -f devtodo.1 $$i.1; done
-	test -f $(DESTDIR)$(sysconfdir)/todorc || ( mkdir -p $(DESTDIR)$(sysconfdir) ; $(INSTALL_DATA) todorc.example $(DESTDIR)$(sysconfdir)/todorc )
+	${BSD_INSTALL_DATA_DIR} ${prefix}/share/examples/devtodo
+	${BSD_INSTALL_DATA} todorc.example ${prefix}/share/examples/devtodo/todorc
 
 uninstall:
 	rm -f $(addprefix $(DESTDIR)$(mandir)/man1/, $(addsuffix .1, $(manlinks) devtodo))
