From f0a040c72b8815658ec48ee53b31b22a37ad5087 Mon Sep 17 00:00:00 2001
From: kuriyama <kuriyama@FreeBSD.org>
Date: Fri, 6 Jun 2003 13:46:55 +0000
Subject: Use 	cat ${.ALLSRC} > ${.TARGET} rather than 	ln -sf
 ${.ALLSRC} ${.TARGET} not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
---
 lib/libform/Makefile         | 2 +-
 lib/libmenu/Makefile         | 2 +-
 lib/libncurses/Makefile      | 2 +-
 lib/libpanel/Makefile        | 2 +-
 lib/ncurses/form/Makefile    | 2 +-
 lib/ncurses/menu/Makefile    | 2 +-
 lib/ncurses/ncurses/Makefile | 2 +-
 lib/ncurses/panel/Makefile   | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

(limited to 'lib')

diff --git a/lib/libform/Makefile b/lib/libform/Makefile
index 7c22588..6e69075 100644
--- a/lib/libform/Makefile
+++ b/lib/libform/Makefile
@@ -45,7 +45,7 @@ MANx=	form.3x form_cursor.3x form_data.3x form_driver.3x \
 CLEANFILES+=${page:T:S/x$//g}
 MAN+=${page:T:S/x$//g}
 ${page:T:S/x$//g}: ${page}
-	ln -s ${.ALLSRC} ${.TARGET}
+	cat ${.ALLSRC} > ${.TARGET}
 .endfor
 
 MLINKS+=form_cursor.3 pos_form_cursor.3
diff --git a/lib/libmenu/Makefile b/lib/libmenu/Makefile
index 0c3088b..fd3ddfe 100644
--- a/lib/libmenu/Makefile
+++ b/lib/libmenu/Makefile
@@ -42,7 +42,7 @@ MANx=	menu.3x menu_attributes.3x menu_cursor.3x \
 CLEANFILES+=${page:T:S/x$//g}
 MAN+=${page:T:S/x$//g}
 ${page:T:S/x$//g}: ${page}
-	ln -s ${.ALLSRC} ${.TARGET}
+	cat ${.ALLSRC} > ${.TARGET}
 .endfor
 
 MLINKS+=menu_attributes.3 menu_back.3 menu_attributes.3 menu_fore.3 \
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index 9be40a0..0dc6702 100644
--- a/lib/libncurses/Makefile
+++ b/lib/libncurses/Makefile
@@ -410,7 +410,7 @@ MAN+=	term.7
 CLEANFILES+=${page:T:S/x$//g}
 MAN+=${page:T:S/x$//g}
 ${page:T:S/x$//g}: ${page}
-	ln -sf ${.ALLSRC} ${.TARGET}
+	cat ${.ALLSRC} > ${.TARGET}
 .endfor
 
 MLINKS+=ncurses.3 curses.3
diff --git a/lib/libpanel/Makefile b/lib/libpanel/Makefile
index 5c1f601..e715921 100644
--- a/lib/libpanel/Makefile
+++ b/lib/libpanel/Makefile
@@ -32,7 +32,7 @@ ncurses_def.h:	MKncurses_def.sh ncurses_defs
 CLEANFILES+=	panel.3
 MAN=		panel.3
 panel.3: panel.3x
-	ln -s ${.ALLSRC} ${.TARGET}
+	cat ${.ALLSRC} > ${.TARGET}
 
 MLINKS+=panel.3 bottom_panel.3 panel.3 del_panel.3 panel.3 hide_panel.3 \
 	panel.3 move_panel.3 panel.3 new_panel.3 panel.3 panel_above.3 \
diff --git a/lib/ncurses/form/Makefile b/lib/ncurses/form/Makefile
index 7c22588..6e69075 100644
--- a/lib/ncurses/form/Makefile
+++ b/lib/ncurses/form/Makefile
@@ -45,7 +45,7 @@ MANx=	form.3x form_cursor.3x form_data.3x form_driver.3x \
 CLEANFILES+=${page:T:S/x$//g}
 MAN+=${page:T:S/x$//g}
 ${page:T:S/x$//g}: ${page}
-	ln -s ${.ALLSRC} ${.TARGET}
+	cat ${.ALLSRC} > ${.TARGET}
 .endfor
 
 MLINKS+=form_cursor.3 pos_form_cursor.3
diff --git a/lib/ncurses/menu/Makefile b/lib/ncurses/menu/Makefile
index 0c3088b..fd3ddfe 100644
--- a/lib/ncurses/menu/Makefile
+++ b/lib/ncurses/menu/Makefile
@@ -42,7 +42,7 @@ MANx=	menu.3x menu_attributes.3x menu_cursor.3x \
 CLEANFILES+=${page:T:S/x$//g}
 MAN+=${page:T:S/x$//g}
 ${page:T:S/x$//g}: ${page}
-	ln -s ${.ALLSRC} ${.TARGET}
+	cat ${.ALLSRC} > ${.TARGET}
 .endfor
 
 MLINKS+=menu_attributes.3 menu_back.3 menu_attributes.3 menu_fore.3 \
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index 9be40a0..0dc6702 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -410,7 +410,7 @@ MAN+=	term.7
 CLEANFILES+=${page:T:S/x$//g}
 MAN+=${page:T:S/x$//g}
 ${page:T:S/x$//g}: ${page}
-	ln -sf ${.ALLSRC} ${.TARGET}
+	cat ${.ALLSRC} > ${.TARGET}
 .endfor
 
 MLINKS+=ncurses.3 curses.3
diff --git a/lib/ncurses/panel/Makefile b/lib/ncurses/panel/Makefile
index 5c1f601..e715921 100644
--- a/lib/ncurses/panel/Makefile
+++ b/lib/ncurses/panel/Makefile
@@ -32,7 +32,7 @@ ncurses_def.h:	MKncurses_def.sh ncurses_defs
 CLEANFILES+=	panel.3
 MAN=		panel.3
 panel.3: panel.3x
-	ln -s ${.ALLSRC} ${.TARGET}
+	cat ${.ALLSRC} > ${.TARGET}
 
 MLINKS+=panel.3 bottom_panel.3 panel.3 del_panel.3 panel.3 hide_panel.3 \
 	panel.3 move_panel.3 panel.3 new_panel.3 panel.3 panel_above.3 \
-- 
cgit v1.1