$NetBSD: patch-aa,v 1.4 2000/07/27 12:47:34 jlam Exp $ --- Makefile.in.BAK Wed Feb 9 21:05:49 2000 +++ Makefile.in Wed Feb 9 21:06:50 2000 @@ -34,7 +34,7 @@ # Pathname of directory to install the man page. MANDIR = @mandir@ # Pathname of directory to install the CGI programs. -WEBDIR = $(prefix)/www +WEBDIR = $(prefix)/share/thttpd # CONFIGURE: The group that the web directory belongs to. This is so that # the makeweb program can be installed set-group-id to that group, and make @@ -42,7 +42,7 @@ WEBGROUP = www # CONFIGURE: Directory for CGI executables. -CGIBINDIR = $(WEBDIR)/cgi-bin +CGIBINDIR = $(prefix)/libexec/cgi-bin # You shouldn't need to edit anything below here. @@ -111,10 +111,10 @@ install: installthis install-man installsubdirs installthis: - $(INSTALL) -m 555 -o bin -g bin thttpd $(DESTDIR)$(BINDIR) + $(BSD_INSTALL_PROGRAM) thttpd $(DESTDIR)$(BINDIR) install-man: - $(INSTALL) -m 444 -o bin -g bin thttpd.8 $(DESTDIR)$(MANDIR)/man8 + $(BSD_INSTALL_MAN) thttpd.8 $(DESTDIR)$(MANDIR)/man8 installsubdirs: for i in $(SUBDIRS) ; do ( \