blob: 4cf38da6fc8975416708c63a953a1f3c62452068 (
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
|
$NetBSD: patch-ad,v 1.7 2004/10/21 08:29:45 adam Exp $
--- documentation/Makefile.orig 2004-10-18 20:22:22.000000000 +0000
+++ documentation/Makefile
@@ -227,24 +227,24 @@ docdir = $(datadir)/doc/fltk
install: $(MANPAGES)
echo "Installing documentation files in $(DESTDIR)$(docdir)..."
-$(MKDIR) $(DESTDIR)$(docdir)
- $(CP) $(HTMLFILES) *.gif *.jpg index.html $(DESTDIR)$(docdir)
+ $(INSTALL_DATA) $(HTMLFILES) *.gif *.jpg index.html $(DESTDIR)$(docdir)
$(CHMOD) 644 $(DESTDIR)$(docdir)/*
echo "Installing man pages in $(DESTDIR)$(mandir)..."
-$(MKDIR) $(DESTDIR)$(mandir)/cat1
- $(CP) fluid.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
+ $(INSTALL_MAN) fluid.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
$(CHMOD) 644 $(DESTDIR)$(mandir)/cat1/fluid.$(CAT1EXT)
- $(CP) fltk-config.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
+ $(INSTALL_MAN) fltk-config.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
$(CHMOD) 644 $(DESTDIR)$(mandir)/cat1/fltk-config.$(CAT1EXT)
-$(MKDIR) $(DESTDIR)$(mandir)/cat3
- $(CP) fltk.$(CAT3EXT) $(DESTDIR)$(mandir)/cat3
+ $(INSTALL_MAN) fltk.$(CAT3EXT) $(DESTDIR)$(mandir)/cat3
$(CHMOD) 644 $(DESTDIR)$(mandir)/cat3/fltk.$(CAT3EXT)
-$(MKDIR) $(DESTDIR)$(mandir)/man1
- $(CP) fluid.man $(DESTDIR)$(mandir)/man1/fluid.1
+ $(INSTALL_MAN) fluid.man $(DESTDIR)$(mandir)/man1/fluid.1
$(CHMOD) 644 $(DESTDIR)$(mandir)/man1/fluid.1
- $(CP) fltk-config.man $(DESTDIR)$(mandir)/man1/fltk-config.1
+ $(INSTALL_MAN) fltk-config.man $(DESTDIR)$(mandir)/man1/fltk-config.1
$(CHMOD) 644 $(DESTDIR)$(mandir)/man1/fltk-config.1
-$(MKDIR) $(DESTDIR)$(mandir)/man3
- $(CP) fltk.man $(DESTDIR)$(mandir)/man3/fltk.3
+ $(INSTALL_MAN) fltk.man $(DESTDIR)$(mandir)/man3/fltk.3
$(CHMOD) 644 $(DESTDIR)$(mandir)/man3/fltk.3
|