diff --git a/bin/csh/Makefile b/bin/csh/Makefile index e5d4ec197d7e..ffd511d14711 100644 --- a/bin/csh/Makefile +++ b/bin/csh/Makefile @@ -73,7 +73,7 @@ NLSSRCFILES_${catalog:C/.*://}!= cd ${NLSSRCDIR_${catalog:C/.*://}}; echo set[0- .endfor csh.1: tcsh.man - ln -sf ${.ALLSRC} ${.TARGET} + cat ${.ALLSRC} > ${.TARGET} build-tools: gethost diff --git a/gnu/usr.bin/cc/cpp/Makefile b/gnu/usr.bin/cc/cpp/Makefile index 56fdc06de53c..12be88f94c51 100644 --- a/gnu/usr.bin/cc/cpp/Makefile +++ b/gnu/usr.bin/cc/cpp/Makefile @@ -17,6 +17,6 @@ LDADD+= ${LIBCC_INT} CLEANFILES= cpp.1 cpp.1: cccp.1 - ln -sf ${.ALLSRC} ${.TARGET} + cat ${.ALLSRC} > ${.TARGET} .include diff --git a/gnu/usr.bin/cc/f77/Makefile b/gnu/usr.bin/cc/f77/Makefile index 4902ba5da70e..233cae20804c 100644 --- a/gnu/usr.bin/cc/f77/Makefile +++ b/gnu/usr.bin/cc/f77/Makefile @@ -18,6 +18,6 @@ LDADD= ${LIBCC_INT} CLEANFILES= f77.1 f77.1: g77.1 - ln -sf ${.ALLSRC} ${.TARGET} + cat ${.ALLSRC} > ${.TARGET} .include diff --git a/lib/libform/Makefile b/lib/libform/Makefile index 7c225887fd9e..6e69075ba698 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 0c3088bd6db4..fd3ddfe71158 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 9be40a00c28f..0dc6702c4f41 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 5c1f6010dda2..e715921652ac 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 7c225887fd9e..6e69075ba698 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 0c3088bd6db4..fd3ddfe71158 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 9be40a00c28f..0dc6702c4f41 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 5c1f6010dda2..e715921652ac 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 \ diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile index ffc5e68504fa..1d3642b6a832 100644 --- a/usr.bin/awk/Makefile +++ b/usr.bin/awk/Makefile @@ -27,6 +27,6 @@ maketab: ytab.h ${AWKSRC}/maketab.c CLEANFILES+= nawk.1 nawk.1: awk.1 - ln -sf ${.ALLSRC} ${.TARGET} + cat ${.ALLSRC} > ${.TARGET} .include diff --git a/usr.bin/less/Makefile.common b/usr.bin/less/Makefile.common index 6b3b62b97dab..fcc6ccfa1ce3 100644 --- a/usr.bin/less/Makefile.common +++ b/usr.bin/less/Makefile.common @@ -8,4 +8,4 @@ CFLAGS+=-I${.CURDIR}/../less -I${LSDIR} .SUFFIXES: .nro .1 .nro.1: - ln -s ${.IMPSRC} ${.TARGET} + cat ${.IMPSRC} > ${.TARGET}