maint: fix the fs-magic-compare rule
authorJim Meyering <meyering@redhat.com>
Mon, 17 May 2010 14:10:24 +0000 (16:10 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 17 May 2010 14:10:24 +0000 (16:10 +0200)
* src/Makefile.am (fs-def): Sort definitions.
This is required by fs-magic-compare's use of join.

src/Makefile.am

index db5359b..4576d28 100644 (file)
@@ -557,7 +557,7 @@ fs-magic-compare: fs-magic fs-kernel-magic fs-def
 
 CLEANFILES += fs-def
 fs-def: fs.h
-       grep '^# *define ' $< > $@-t && mv $@-t $@
+       grep '^# *define ' $< | $(ASSORT) > $@-t && mv $@-t $@
 
 # Massage bits of the statfs man page and definitions from
 # /usr/include/linux/magic.h to be in a form consistent with what's in fs.h.