Skip to contentSkip to conversation

Unbreak DISTLIST

PATCH In review Lubomir Rintel 2 participants 3 messages May 13, 2008 – Jun 14, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Unbreak DISTLIST

Please run make DISTLIST before commiting, and either commit updated DISTLIST, or remove it altogether from CVS?

2008-05-13 Lubomir Rintel <[email protected]>

* Makefile.in (DISTLIST): Sort the whole DISTLIST. (.PHONY) Make DISTLIST a phony target.
* gendistlist.sh (EXTRA_DISTFILES): Add missing files. (DISTDIRS): Add missing directories.
(top level): Add matches to more suffixes, and remove partial sort of results.

Signature · 2 lines
Lubomir Rintel (Was: Kundrak)
http://v3.sk/~lkundrak/

2008-05-13 Lubomir Rintel <[email protected]>

* Makefile.in (DISTLIST): Sort the whole DISTLIST. (.PHONY) Make DISTLIST a phony target.
* gendistlist.sh (EXTRA_DISTFILES): Add missing files. (DISTDIRS): Add missing directories.
(top level): Add matches to more suffixes, and remove partial sort of results.

Index: Makefile.in
===================================================================
RCS file: /sources/grub/grub2/Makefile.in,v
retrieving revision 1.35

Makefile.in +2 -2
diff -u -p -r1.35 Makefile.in
@@ -259,7 +259,7 @@ dvi:
 distdir=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
 
 DISTLIST: gendistlist.sh
-	sh $(srcdir)/gendistlist.sh > $(srcdir)/DISTLIST
+	sh $(srcdir)/gendistlist.sh | sort > $(srcdir)/DISTLIST
 
 distdir: DISTLIST
 	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
@@ -334,7 +334,7 @@ genkernsyms.sh: genkernsyms.sh.in config
 	./config.status
 
 .PHONY: all install install-strip uninstall clean mostlyclean distclean
-.PHONY: maintainer-clean info dvi dist check
+.PHONY: maintainer-clean info dvi dist check DISTLIST
 
 # Prevent an overflow.
 .NOEXPORT:

Index: gendistlist.sh
===================================================================
RCS file: /sources/grub/grub2/gendistlist.sh,v
retrieving revision 1.3

gendistlist.sh +8 -7
diff -u -p -r1.3 gendistlist.sh
@@ -16,11 +16,13 @@
 EXTRA_DISTFILES="AUTHORS COPYING ChangeLog DISTLIST INSTALL NEWS README \
 	THANKS TODO Makefile.in aclocal.m4 autogen.sh config.guess \
 	config.h.in config.sub configure configure.ac gencmdlist.sh \
-	gendistlist.sh genfslist.sh genpartmaplist.sh genkernsyms.sh genmk.rb \
-	genmodsrc.sh gensymlist.sh install-sh mkinstalldirs stamp-h.in"
+	gendistlist.sh genfslist.sh genpartmaplist.sh genkernsyms.sh.in genmk.rb \
+	genmodsrc.sh gensymlist.sh.in install-sh mkinstalldirs stamp-h.in \
+	geninitheader.sh geninit.sh genmoddep.awk \
+        docs/grub.cfg docs/mdate-sh docs/texinfo.tex"
 
-DISTDIRS="boot commands conf disk font fs hello include io kern loader \
-	normal partmap term util video"
+DISTDIRS="boot bus commands conf disk docs font fs hello include io kern \
+	loader normal partmap term util video"
 
 for f in $EXTRA_DISTFILES; do
     echo $f
@@ -31,8 +33,7 @@ cd $dir
 
 for dir in $DISTDIRS; do
   for d in `find $dir -type d | sort`; do
-    find $d -maxdepth 1 -name '*.[chS]' -o -name '*.mk' -o -name '*.rmk' \
-      -o -name '*.rb' -o -name '*.in' \
-      | sort
+    find $d -maxdepth 1 -name '*.[chSy]' -o -name '*.mk' -o -name '*.rmk' \
+      -o -name '*.rb' -o -name '*.in' -o -name 'README' -o -name '*.texi'
   done
 done
#1 lore raw
Quoted 2 lines · Lubomir Rintel

Please run make DISTLIST before commiting, and either commit updated DISTLIST,

Sometimes we forget...

Quoted 1 line

or remove it altogether from CVS?

Can't; Okuji needs it when making releases.

Please go ahead with your fix.

Signature · 5 lines
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)
#2 lore raw
In reply to Lubomir Rintel

gendistlist.sh line 22

Quoted 2 lines · Lubomir Rintel
gendistlist.sh +2 -0
+	geninitheader.sh geninit.sh genmoddep.awk \
+        docs/grub.cfg docs/mdate-sh docs/texinfo.tex"

Inconsistent indentation here :-)

Signature · 5 lines
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)