summaryrefslogtreecommitdiff
path: root/x11/fltk/patches/patch-ad
blob: 42654805c5c50ae7aae0cf7fd80aaa7d8d8fa8a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
$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