$NetBSD: patch-ad,v 1.4 2001/05/26 06:37:46 jlam Exp $ --- documentation/Makefile.orig Mon Feb 12 10:12:14 2001 +++ documentation/Makefile @@ -129,23 +129,23 @@ # 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) -mkdir -p $(docdir) - cp $(HTMLFILES) *.gif *.jpg index.html $(docdir) + $(INSTALL_DATA) $(HTMLFILES) *.gif *.jpg index.html $(docdir) chmod 644 $(docdir)/* -mkdir -p $(mandir)/cat1 - cp fluid.$(CAT1EXT) $(mandir)/cat1 + $(INSTALL_MAN) fluid.$(CAT1EXT) $(mandir)/cat1 chmod 644 $(mandir)/cat1/fluid.$(CAT1EXT) -mkdir -p $(mandir)/cat3 - cp fltk.$(CAT3EXT) $(mandir)/cat3 + $(INSTALL_MAN) fltk.$(CAT3EXT) $(mandir)/cat3 chmod 644 $(mandir)/cat3/fltk.$(CAT3EXT) -mkdir -p $(mandir)/man1 - cp fluid.man $(mandir)/man1/fluid.1 + $(INSTALL_MAN) fluid.man $(mandir)/man1/fluid.1 chmod 644 $(mandir)/man1/fluid.1 -mkdir -p $(mandir)/man3 - cp fltk.man $(mandir)/man3/fltk.3 + $(INSTALL_MAN) fltk.man $(mandir)/man3/fltk.3 chmod 644 $(mandir)/man3/fltk.3 # Base html files are now the readable ones, so this target is not make by