=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/MAKEDEV.mansub,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/etc/MAKEDEV.mansub 2004/02/16 19:03:30 1.1 --- src/etc/MAKEDEV.mansub 2004/02/20 19:13:01 1.2 *************** *** 1,4 **** ! dnl $OpenBSD: MAKEDEV.mansub,v 1.1 2004/02/16 19:03:30 miod Exp $ dnl dnl Copyright (c) 2004, Miodrag Vallat dnl Copyright (c) 2001-2004 Todd T. Fries --- 1,4 ---- ! dnl $OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp $ dnl dnl Copyright (c) 2004, Miodrag Vallat dnl Copyright (c) 2001-2004 Todd T. Fries *************** *** 66,73 **** dnl dnl vers ( uniqueidstring, versionstring, subdir ) dnl ! dnl example1: vers(__file__, {-$OpenBSD: MAKEDEV.mansub,v 1.1 2004/02/16 19:03:30 miod Exp $-}) ! dnl example2: vers(__file__, {-$OpenBSD: MAKEDEV.mansub,v 1.1 2004/02/16 19:03:30 miod Exp $-}, etc.MACHINE) dnl dnl if subdir is defined, prepend it to the filename in the version string dnl --- 66,73 ---- dnl dnl vers ( uniqueidstring, versionstring, subdir ) dnl ! dnl example1: vers(__file__, {-$OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp $-}) ! dnl example2: vers(__file__, {-$OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp $-}, etc.MACHINE) dnl dnl if subdir is defined, prepend it to the filename in the version string dnl *************** *** 78,84 **** dnl dnl Version info for this file: dnl ! vers(__file__, {-$OpenBSD: MAKEDEV.mansub,v 1.1 2004/02/16 19:03:30 miod Exp $-})dnl dnl dnl define({-_addsubdir-}, --- 78,84 ---- dnl dnl Version info for this file: dnl ! vers(__file__, {-$OpenBSD: MAKEDEV.mansub,v 1.2 2004/02/20 19:13:01 miod Exp $-})dnl dnl dnl define({-_addsubdir-}, *************** *** 98,108 **** show_vers()dnl -})-})dnl dnl dnl dnl _devitem(pattern, description) dnl ! define({-_devitem-},{-.It Ar $1 ! $2.-})dnl dnl dnl _devtitle(name,description) dnl --- 98,113 ---- show_vers()dnl -})-})dnl dnl + dnl _devxr(name,optional different xr name) dnl + define({-_devxr-},{-.Xr $1 ifelse(index($1,{- -}),-1,{-4 -})-})dnl + dnl dnl _devitem(pattern, description) dnl ! define({-_devitem-},{-.It Ar $2 ! $3{--}ifelse($4,nothing,,{-, see ! _devxr({-ifelse($4,,$1,$4)-})-})dnl ! .-})dnl dnl dnl _devtitle(name,description) dnl *************** *** 118,124 **** dnl define({-_MKDEV-}, {-$1_mkdev-})dnl define({-_TITLE-}, {-$1_title-})dnl ! define({-__devitem-}, {-define($1_dev, {-_devitem($2,$3)-})$4-})dnl define({-__devtitle-}, {-define($1_title, {-_devtitle($1,$2)-})-})dnl define({-_mkdev-})dnl define({-_mcdev-})dnl --- 123,131 ---- dnl define({-_MKDEV-}, {-$1_mkdev-})dnl define({-_TITLE-}, {-$1_title-})dnl ! dnl ! define({-__devitem-}, {-define($1_dev, {-_devitem($1,$2,$3,$4)-})-})dnl ! dnl define({-__devtitle-}, {-define($1_title, {-_devtitle($1,$2)-})-})dnl define({-_mkdev-})dnl define({-_mcdev-})dnl