57c3a14ce9
with it. This has the benefit that one can now install elm on systems that have metamail installed (which, for example, is required by exmh). Tested by jdolecek. Bump PKGREVISION.
82 lines
3.2 KiB
Text
82 lines
3.2 KiB
Text
$NetBSD: patch-ae,v 1.4 2003/04/23 14:36:37 jschauma Exp $
|
|
|
|
--- doc/Makefile.SH.orig Wed Mar 24 09:13:56 1999
|
|
+++ doc/Makefile.SH
|
|
@@ -101,6 +101,7 @@ TEST = $test
|
|
SUFFIX = $suffix
|
|
PACKED = $packed
|
|
PACKER = $packer
|
|
+MKDIR = mkdir
|
|
|
|
!GROK!THIS!
|
|
|
|
@@ -118,7 +119,6 @@ MAN_LIST = $(MAN)/answer$(MANEXT) \
|
|
$(MAN)/frm$(MANEXT) \
|
|
$(MAN)/listalias$(MANEXT) \
|
|
$(MAN)/messages$(MANEXT) \
|
|
- $(MAN)/mmencode$(MANEXT) \
|
|
$(MAN)/newalias$(MANEXT) \
|
|
$(MAN)/newmail$(MANEXT) \
|
|
$(MAN)/printmail$(MANEXT) \
|
|
@@ -133,7 +133,6 @@ CATMAN_LIST = $(CATMAN)/answer$(CATMANEX
|
|
$(CATMAN)/frm$(CATMANEXT)$(SUFFIX) \
|
|
$(CATMAN)/listalias$(CATMANEXT)$(SUFFIX) \
|
|
$(CATMAN)/messages$(CATMANEXT)$(SUFFIX) \
|
|
- $(CATMAN)/mmencode$(CATMANEXT)$(SUFFIX) \
|
|
$(CATMAN)/newalias$(CATMANEXT)$(SUFFIX) \
|
|
$(CATMAN)/newmail$(CATMANEXT)$(SUFFIX) \
|
|
$(CATMAN)/printmail$(CATMANEXT)$(SUFFIX) \
|
|
@@ -148,7 +147,6 @@ FORMATTED_PAGES_LIST = catman/answer$(CA
|
|
catman/frm$(CATMANEXT)$(SUFFIX) \
|
|
catman/listalias$(CATMANEXT)$(SUFFIX) \
|
|
catman/messages$(CATMANEXT)$(SUFFIX) \
|
|
- catman/mmencode$(CATMANEXT)$(SUFFIX) \
|
|
catman/newalias$(CATMANEXT)$(SUFFIX) \
|
|
catman/newmail$(CATMANEXT)$(SUFFIX) \
|
|
catman/printmail$(CATMANEXT)$(SUFFIX) \
|
|
@@ -164,7 +162,6 @@ REMOTE_MAN_LIST = $(REMOTE)$(MAN)/answer
|
|
$(REMOTE)$(MAN)/frm$(MANEXT) \
|
|
$(REMOTE)$(MAN)/listalias$(MANEXT) \
|
|
$(REMOTE)$(MAN)/messages$(MANEXT) \
|
|
- $(REMOTE)$(MAN)/mmencode$(MANEXT) \
|
|
$(REMOTE)$(MAN)/newalias$(MANEXT) \
|
|
$(REMOTE)$(MAN)/newmail$(MANEXT) \
|
|
$(REMOTE)$(MAN)/printmail$(MANEXT) \
|
|
@@ -277,8 +274,8 @@ I_CHECK = if $(TEST) ! -f $@ ; then : ;
|
|
fi
|
|
|
|
I_DELETE = $(TEST) ! -f $@ || $(RM) $@
|
|
-INST_444 = $(I_DELETE) ; $(CP) $? $@ ; $(CHMOD) 444 $@
|
|
-INST_644 = $(I_DELETE) ; $(CP) $? $@ ; $(CHMOD) 644 $@
|
|
+INST_444 = $(I_DELETE) ; $(MKDIR) -p `dirname $@` ; $(CP) $? $@ ; $(CHMOD) 444 $@
|
|
+INST_644 = $(I_DELETE) ; $(MKDIR) -p `dirname $@` ; $(CP) $? $@ ; $(CHMOD) 644 $@
|
|
INST_LINK = $(I_DELETE) ; $(LN) $? $@
|
|
|
|
# Dependencies and rules for installing man pages and lib files
|
|
@@ -291,7 +288,6 @@ $(MAN)/fastmail$(MANEXT): fastmail.1 ;
|
|
$(MAN)/frm$(MANEXT): frm.1 ; $(INST_444)
|
|
$(MAN)/listalias$(MANEXT): listalias.1 ; $(INST_444)
|
|
$(MAN)/messages$(MANEXT): messages.1 ; $(INST_444)
|
|
-$(MAN)/mmencode$(MANEXT): mmencode.1 ; $(INST_444)
|
|
$(MAN)/newalias$(MANEXT): newalias.1 ; $(INST_444)
|
|
$(MAN)/newmail$(MANEXT): newmail.1 ; $(INST_444)
|
|
$(MAN)/printmail$(MANEXT): printmail.1 ; $(INST_444)
|
|
@@ -326,7 +322,6 @@ $(CATMAN)/fastmail$(CES): catman/fastmai
|
|
$(CATMAN)/frm$(CES): catman/frm$(CES) ; $(INST_644)
|
|
$(CATMAN)/listalias$(CES): catman/listalias$(CES) ; $(INST_644)
|
|
$(CATMAN)/messages$(CES): catman/messages$(CES) ; $(INST_644)
|
|
-$(CATMAN)/mmencode$(CES): catman/mmencode$(CES) ; $(INST_644)
|
|
$(CATMAN)/newalias$(CES): catman/newalias$(CES) ; $(INST_644)
|
|
$(CATMAN)/newmail$(CES): catman/newmail$(CES) ; $(INST_644)
|
|
$(CATMAN)/printmail$(CES): catman/printmail$(CES) ; $(INST_644)
|
|
@@ -370,10 +365,6 @@ catman/listalias$(CATMANEXT)$(SUFFIX):
|
|
@ $(DO_PACK)
|
|
|
|
catman/messages$(CATMANEXT)$(SUFFIX): messages.1
|
|
- $(DO_ROFF)
|
|
- @ $(DO_PACK)
|
|
-
|
|
-catman/mmencode$(CATMANEXT)$(SUFFIX): mmencode.1
|
|
$(DO_ROFF)
|
|
@ $(DO_PACK)
|
|
|