diff options
author | Dan Harnett <danh@cvs.openbsd.org> | 2005-01-28 18:51:39 +0000 |
---|---|---|
committer | Dan Harnett <danh@cvs.openbsd.org> | 2005-01-28 18:51:39 +0000 |
commit | 18ff94cba9ffd0eb70ec9434d0280ec329ec98a1 (patch) | |
tree | ec546dbddc06d60e193b17eaea8cdf782076ec81 /etc/MAKEDEV.sub | |
parent | 5ca8741541835fac1f183eecad5bdb7e8b6aa166 (diff) |
change start and end comment sequences (not used) to allow shell
parameter substitution.
ok todd@
Diffstat (limited to 'etc/MAKEDEV.sub')
-rw-r--r-- | etc/MAKEDEV.sub | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/etc/MAKEDEV.sub b/etc/MAKEDEV.sub index 46f37cf55f3..96ada6a44c8 100644 --- a/etc/MAKEDEV.sub +++ b/etc/MAKEDEV.sub @@ -1,4 +1,4 @@ -dnl $OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp $ +dnl $OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp $ dnl dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org> dnl @@ -24,6 +24,11 @@ dnl possible dnl changequote(`{-', `-}')dnl dnl +dnl o Next, change the comment character to make shell parameter +dnl substitution possible +dnl +changecom(`/*', `*/')dnl +dnl dnl o version info must be stripped of $ so we can say 'generated from' below dnl dnl If we just use the version string how are we going to know what arch @@ -66,8 +71,8 @@ dnl store a version string for 'this' file dnl dnl vers ( uniqueidstring, versionstring, subdir ) dnl -dnl example1: vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp $-}) -dnl example2: vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp $-}, etc.MACHINE) +dnl example1: vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp $-}) +dnl example2: vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp $-}, etc.MACHINE) dnl dnl if subdir is defined, prepend it to the filename in the version string dnl @@ -78,7 +83,7 @@ define({-vers-}, dnl dnl Version info for this file: dnl -vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp $-})dnl +vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp $-})dnl dnl dnl define({-_addsubdir-}, |