$NetBSD: patch-ad,v 1.5 2004/02/18 05:07:34 ben Exp $ --- documentation/Makefile.orig 2003-09-08 10:11:44.000000000 -0700 +++ documentation/Makefile @@ -222,29 +222,29 @@ depend: # htmldir = $(datadir)/doc/html/en/fltk # Possibly the "en/" can be removed, it is not clear. # KDE uses "HTML" instead of "html", which is correct? -docdir = $(datadir)/doc/fltk +docdir = $(datadir)/doc/html/fltk install: $(MANPAGES) echo "Installing documentation files in $(docdir)..." -$(MKDIR) $(docdir) - $(CP) $(HTMLFILES) *.gif *.jpg index.html $(docdir) + $(INSTALL_DATA) $(HTMLFILES) *.gif *.jpg index.html $(docdir) $(CHMOD) 644 $(docdir)/* echo "Installing man pages in $(mandir)..." -$(MKDIR) $(mandir)/cat1 - $(CP) fluid.$(CAT1EXT) $(mandir)/cat1 + $(INSTALL_MAN) fluid.$(CAT1EXT) $(mandir)/cat1 $(CHMOD) 644 $(mandir)/cat1/fluid.$(CAT1EXT) - $(CP) fltk-config.$(CAT1EXT) $(mandir)/cat1 + $(INSTALL_MAN) fltk-config.$(CAT1EXT) $(mandir)/cat1 $(CHMOD) 644 $(mandir)/cat1/fltk-config.$(CAT1EXT) -$(MKDIR) $(mandir)/cat3 - $(CP) fltk.$(CAT3EXT) $(mandir)/cat3 + $(INSTALL_MAN) fltk.$(CAT3EXT) $(mandir)/cat3 $(CHMOD) 644 $(mandir)/cat3/fltk.$(CAT3EXT) -$(MKDIR) $(mandir)/man1 - $(CP) fluid.man $(mandir)/man1/fluid.1 + $(INSTALL_MAN) fluid.man $(mandir)/man1/fluid.1 $(CHMOD) 644 $(mandir)/man1/fluid.1 - $(CP) fltk-config.man $(mandir)/man1/fltk-config.1 + $(INSTALL_MAN) fltk-config.man $(mandir)/man1/fltk-config.1 $(CHMOD) 644 $(mandir)/man1/fltk-config.1 -$(MKDIR) $(mandir)/man3 - $(CP) fltk.man $(mandir)/man3/fltk.3 + $(INSTALL_MAN) fltk.man $(mandir)/man3/fltk.3 $(CHMOD) 644 $(mandir)/man3/fltk.3