1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Work around bug (?) in BSD make that causes HTML manpages to be generated

with wrong suffix when MANSUFFIX is defined.

Submitted by:	maintainer
This commit is contained in:
Satoshi Asami 2000-09-06 09:41:47 +00:00
parent 10199b5dbd
commit 56c6e47356
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32330
2 changed files with 24 additions and 2 deletions

View File

@ -1,5 +1,16 @@
--- cf/Imake.rules.orig Sun Jun 18 03:39:14 2000
+++ cf/Imake.rules Sun Jul 16 18:47:58 2000
+++ cf/Imake.rules Fri Sep 1 13:33:50 2000
@@ -1297,8 +1297,8 @@
@@\
dest.suffix.html: file.man RmanCmdDependency @@\
RemoveFiles(dest.suffix.html dest.suffix-html) @@\
- RunProgram(RMAN,$(RMANOPTIONS) < file.man > dest.suffix-html) &&\ @@\
- $(MV) dest.suffix-html $@ @@\
+ RunProgram(RMAN,$(RMANOPTIONS) < file.man > dest.suffix-html) && \ @@\
+ $(MV) dest.suffix-html dest.suffix.html @@\
@@\
install.man:: dest.suffix.html @@\
MakeDir($(DESTDIR)$(DOCHTMLDIR)) @@\
@@ -1533,7 +1533,7 @@
MakeDir(Concat($(DESTDIR),npath/mdir)) @@\
@MakeFlagsToShellFlags(i,set +e); \ @@\

View File

@ -1,6 +1,17 @@
--- config/cf/Imake.rules.orig Wed Mar 8 00:54:17 2000
+++ config/cf/Imake.rules Wed Apr 12 18:00:00 2000
@@ -1437,7 +1437,7 @@
@@ -1297,8 +1297,8 @@
@@\
dest.suffix.html: file.man RmanCmdDependency @@\
RemoveFiles(dest.suffix.html dest.suffix-html) @@\
- RunProgram(RMAN,$(RMANOPTIONS) < file.man > dest.suffix-html) &&\ @@\
- $(MV) dest.suffix-html $@ @@\
+ RunProgram(RMAN,$(RMANOPTIONS) < file.man > dest.suffix-html) && \ @@\
+ $(MV) dest.suffix-html dest.suffix.html @@\
@@\
install.man:: dest.suffix.html @@\
MakeDir($(DESTDIR)$(DOCHTMLDIR)) @@\
@@ -1533,7 +1533,7 @@
MakeDir(Concat($(DESTDIR),npath/mdir)) @@\
@MakeFlagsToShellFlags(i,set +e); \ @@\
if [ -d Concat($(DESTDIR),opath/cdir) ]; then \ @@\