summaryrefslogtreecommitdiff
path: root/distrib/sets/lists/Makefile
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2007-03-30 03:55:29 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2007-03-30 03:55:29 +0000
commit22581bec5d358ea95852097d23e2c8017db57110 (patch)
tree4ca9fdfecf8c5f23357837ebf672ca4333ea53f8 /distrib/sets/lists/Makefile
parentce981664caa6f9c83c9ad655c5694058b4a5e7d0 (diff)
better sorting, auto populate arch list
Diffstat (limited to 'distrib/sets/lists/Makefile')
-rw-r--r--distrib/sets/lists/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/distrib/sets/lists/Makefile b/distrib/sets/lists/Makefile
index c7572bf58..c077b44db 100644
--- a/distrib/sets/lists/Makefile
+++ b/distrib/sets/lists/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2006/11/27 11:25:45 matthieu Exp $
+# $OpenBSD: Makefile,v 1.2 2007/03/30 03:55:28 todd Exp $
# Various list maintenance functions
@@ -13,13 +13,13 @@ all: sort
sort:
@for f in */m*; do echo "===> sorting $$f"; \
- sort $$f | uniq > $$f.tmp; \
+ sed 's/[ ]*$$//' $$f | sort | uniq > $$f.tmp; \
diff -u $$f $$f.tmp || true; \
cat $$f.tmp > $$f && rm $$f.tmp; \
- done;
+ done
-archs = alpha amd64 cats hp300 hppa i386 mac68k macppc \
- mvme68k mvme88k sparc sparc64 vax
+basefiles!= cd xbase;echo md.*
+archs = ${basefiles:S/md\.//}
mdtomi:
@echo "Checking for common md file lines for migration to mi files:"