From: Jim Meyering Date: Mon, 17 May 2010 14:10:24 +0000 (+0200) Subject: maint: fix the fs-magic-compare rule X-Git-Tag: v8.6~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e82d241d06b8bb887101b0f4f38e785b80e7fcf;p=thirdparty%2Fcoreutils.git maint: fix the fs-magic-compare rule * src/Makefile.am (fs-def): Sort definitions. This is required by fs-magic-compare's use of join. --- diff --git a/src/Makefile.am b/src/Makefile.am index db5359bdc6..4576d2829c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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.