blob: fa55f3666492572b7a021afefce55335dfa770f1 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
$NetBSD: patch-ab,v 1.4 2003/06/29 22:24:33 jtb Exp $
--- Makefile.in.orig
+++ Makefile.in
@@ -461,31 +461,17 @@
install: install-exe @INSTALL_MAN@ install-lisp
install-exe: ftnchek$(EXE) dcl2inc$(CMD)
- -$(RM) $(bindir)/ftnchek$(EXE)
- -$(MKDIR) -p $(bindir)
- $(CP) ftnchek$(EXE) $(bindir)
- -$(STRIP) $(bindir)/ftnchek$(EXE)
- $(CHMOD) 755 $(bindir)/ftnchek$(EXE)
- -$(MKDIR) -p $(libdir)
- $(CP) dcl2inc.awk $(libdir)/dcl2inc.awk
- $(CHMOD) 644 $(libdir)/dcl2inc.awk
- $(CP) dcl2inc$(CMD) $(bindir)/dcl2inc$(CMD)
- $(CHMOD) 755 $(bindir)/dcl2inc$(CMD)
- -$(RM) $(bindir)/fcl2vcg
+ $(BSD_INSTALL_PROGRAM) ftnchek$(EXE) $(bindir)
+ $(BSD_INSTALL_DATA_DIR) $(libdir)
+ $(BSD_INSTALL_DATA) dcl2inc.awk $(libdir)
+ $(BSD_INSTALL_SCRIPT) dcl2inc$(CMD) $(bindir)
# Install man pages, taking care to remove old formatted ones, because
# many man implentations fail to compare time stamps of raw and
# formatted files, and will show out-of-date formatted files.
install-man: ftnchek$(manext)
- -$(MKDIR) -p $(mandir)/man1
- $(CP) dcl2inc.man $(mandir)/man1/dcl2inc$(manext)
- -$(RM) $(mandir)/cat1/dcl2inc$(manext)
- $(CHMOD) 644 $(mandir)/man1/dcl2inc$(manext)
- $(CP) ftnchek$(manext) $(mandir)/man1/ftnchek$(manext)
- -$(RM) $(mandir)/cat1/ftnchek$(manext)
- $(CHMOD) 644 $(mandir)/man1/ftnchek$(manext)
- -$(RM) $(mandir)/man1/fcl2vcg$(manext)
- -$(RM) $(mandir)/cat1/fcl2vcg$(manext)
+ $(BSD_INSTALL_MAN) dcl2inc.man $(mandir)/man1/dcl2inc$(manext)
+ $(BSD_INSTALL_MAN) ftnchek$(manext) $(mandir)/man1/ftnchek$(manext)
# IRIX uses pre-formatted, packed man pages and nroff is not bundled with it.
install-man-sgi: catman
@@ -528,23 +514,8 @@
# The emacs lisp file will be installed only if lispdir exists. It will
# be byte-compiled if emacs is present.
install-lisp:
- @if test -d "$(lispdir)" ; \
- then \
- echo $(CP) ftnchek.el $(lispdir)/ftnchek.el ; \
- if $(CP) ftnchek.el $(lispdir)/ftnchek.el ; \
- then \
- if test -x "$(EMACS)" ; \
- then \
- $(EMACS) -batch -f batch-byte-compile $(lispdir)/ftnchek.el ; \
- else \
- echo "If desired, use emacs to byte-compile $(lispdir)/ftnchek.el"; \
- fi \
- fi \
- else \
- echo "$(lispdir) does not exist -- ftnchek.el not installed." ; \
- echo "If you want to install ftnchek.el, create $(lispdir)" ; \
- echo "or re-run make install with 'lispdir=path-to-site-lisp'" ; \
- fi
+ $(BSD_INSTALL_DATA_DIR) $(lispdir)
+ $(BSD_INSTALL_DATA) ftnchek.el $(lispdir)
# Remove everything that the install target installed.
uninstall:
|