Index: head/sys/amd64/conf/Makefile =================================================================== --- head/sys/amd64/conf/Makefile (revision 95921) +++ head/sys/amd64/conf/Makefile (revision 95922) @@ -1,10 +1,10 @@ # $FreeBSD$ all: @echo "make LINT only" 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 Index: head/sys/i386/conf/Makefile =================================================================== --- head/sys/i386/conf/Makefile (revision 95921) +++ head/sys/i386/conf/Makefile (revision 95922) @@ -1,10 +1,10 @@ # $FreeBSD$ all: @echo "make LINT only" 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 Index: head/sys/i386/conf/makeLINT.sh =================================================================== --- head/sys/i386/conf/makeLINT.sh (nonexistent) +++ head/sys/i386/conf/makeLINT.sh (revision 95922) @@ -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" } +' Property changes on: head/sys/i386/conf/makeLINT.sh ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property