]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
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 db5359bdc6dd97bab2ebf3d1d6d6da8225614484..4576d2829c4d83515ed94da8b76bb2158002b186 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.