when installing man pages don't specify the man page name twice when
running rm to remove any existing man page with that name.
This commit is contained in:
parent
a3fd54bb1f
commit
7c7c967809
@ -1,5 +1,5 @@
|
||||
--- Makefile.in.orig Tue Mar 9 01:51:26 1999
|
||||
+++ Makefile.in Thu Jan 6 03:08:24 2000
|
||||
+++ Makefile.in Thu Jan 6 18:28:14 2000
|
||||
@@ -55,7 +55,9 @@
|
||||
BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin
|
||||
|
||||
@ -105,7 +105,7 @@
|
||||
do \
|
||||
echo "Installing doc/$$i"; \
|
||||
- rm -f $(MAN1_INSTALL_DIR)/$$i; \
|
||||
+ rm -f $(MAN1_INSTALL_DIR)/$$i $(MAN1_INSTALL_DIR)/$$i; \
|
||||
+ rm -f $(MAN1_INSTALL_DIR)/$$i ; \
|
||||
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
|
||||
$$i > $(MAN1_INSTALL_DIR)/$$i; \
|
||||
chmod 444 $(MAN1_INSTALL_DIR)/$$i; \
|
||||
@ -114,7 +114,7 @@
|
||||
do \
|
||||
echo "Installing doc/$$i"; \
|
||||
- rm -f $(MAN3_INSTALL_DIR)/$$i; \
|
||||
+ rm -f $(MAN3_INSTALL_DIR)/$$i $(MAN3_INSTALL_DIR)/$$i; \
|
||||
+ rm -f $(MAN3_INSTALL_DIR)/$$i ; \
|
||||
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
|
||||
$$i > $(MAN3_INSTALL_DIR)/$$i; \
|
||||
chmod 444 $(MAN3_INSTALL_DIR)/$$i; \
|
||||
@ -123,7 +123,7 @@
|
||||
do \
|
||||
echo "Installing doc/$$i"; \
|
||||
- rm -f $(MANN_INSTALL_DIR)/$$i; \
|
||||
+ rm -f $(MANN_INSTALL_DIR)/$$i $(MANN_INSTALL_DIR)/$$i; \
|
||||
+ rm -f $(MANN_INSTALL_DIR)/$$i ; \
|
||||
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
|
||||
$$i > $(MANN_INSTALL_DIR)/$$i; \
|
||||
chmod 444 $(MANN_INSTALL_DIR)/$$i; \
|
||||
|
Loading…
Reference in New Issue
Block a user