mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
56c6e47356
with wrong suffix when MANSUFFIX is defined. Submitted by: maintainer
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
--- cf/Imake.rules.orig Sun Jun 18 03:39:14 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); \ @@\
|
|
if [ -d Concat($(DESTDIR),opath/cdir) ]; then \ @@\
|
|
- RELPATH=`echo opath/cdir | \ @@\
|
|
+ RELPATH=`cd opath/cdir; pwd | \ @@\
|
|
sed -e 's:^.::' -e 's:[^/.][^/]*:..:'g`; \ @@\
|
|
cd Concat($(DESTDIR),opath/cdir); \ @@\
|
|
if [ -d rdir -a ! -h rdir ]; then \ @@\
|
|
@@ -1580,7 +1580,7 @@
|
|
MakeDir(Concat($(DESTDIR),npath)) @@\
|
|
@MakeFlagsToShellFlags(i,set +e); \ @@\
|
|
if [ -d Concat($(DESTDIR),opath) ]; then \ @@\
|
|
- RELPATH=`echo opath | \ @@\
|
|
+ RELPATH=`cd opath; pwd | \ @@\
|
|
sed -e 's:^.::' -e 's:[^/.][^/]*:..:'g`; \ @@\
|
|
cd Concat($(DESTDIR),opath); \ @@\
|
|
if [ -f lfile -a ! -h lfile ]; then \ @@\
|