|
|
@ -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-}, |
|
|
|