diff options
| author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-05-02 06:10:09 +0000 |
|---|---|---|
| committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-05-02 06:10:09 +0000 |
| commit | 23dc40e1dd1e43283399c001f41ec6354b7f941e (patch) | |
| tree | 27598656f22ea481881636cc66faeb812ee73a6e | |
| parent | 3d674c947c31b99138f77d717c2379ef7426954b (diff) | |
Notes
| -rw-r--r-- | sys/amd64/conf/Makefile | 4 | ||||
| -rw-r--r-- | sys/i386/conf/Makefile | 4 | ||||
| -rw-r--r-- | sys/i386/conf/makeLINT.sh | 19 |
3 files changed, 23 insertions, 4 deletions
diff --git a/sys/amd64/conf/Makefile b/sys/amd64/conf/Makefile index d3a508a62c18..ea9517652fde 100644 --- a/sys/amd64/conf/Makefile +++ b/sys/amd64/conf/Makefile @@ -6,5 +6,5 @@ all: clean: rm LINT -LINT: ../../conf/NOTES NOTES makeLINT.pl - cat ../../conf/NOTES NOTES | perl5 makeLINT.pl > LINT +LINT: ../../conf/NOTES NOTES makeLINT.sh + cat ../../conf/NOTES NOTES | sh makeLINT.sh > LINT diff --git a/sys/i386/conf/Makefile b/sys/i386/conf/Makefile index d3a508a62c18..ea9517652fde 100644 --- a/sys/i386/conf/Makefile +++ b/sys/i386/conf/Makefile @@ -6,5 +6,5 @@ all: clean: rm LINT -LINT: ../../conf/NOTES NOTES makeLINT.pl - cat ../../conf/NOTES NOTES | perl5 makeLINT.pl > LINT +LINT: ../../conf/NOTES NOTES makeLINT.sh + cat ../../conf/NOTES NOTES | sh makeLINT.sh > LINT diff --git a/sys/i386/conf/makeLINT.sh b/sys/i386/conf/makeLINT.sh new file mode 100644 index 000000000000..12b5c13326ab --- /dev/null +++ b/sys/i386/conf/makeLINT.sh @@ -0,0 +1,19 @@ +#! /bin/sh +# $FreeBSD$ + +/usr/bin/sed -e 's/#.*//' -e 's/\//' | /usr/bin/awk ' +/^[ \t]*$/ { next } +/^hint\./ { next } +/^(\ +machine|\ +ident|\ +device|\ +makeoptions|\ +options|\ +profile|\ +cpu|\ +option|\ +maxusers\ +)[ \t]/ { print; next } +{ printf("unrecognized line: line %d: %s\n", NR, $0) > "/dev/stderr" } +' |
