[mad-dev] mad fails to build when gettext is not installed and a make distclean patch

Sean 'Shaleh' Perry shaleh@valinux.com
Mon, 23 Apr 2001 11:46:42 -0700 (PDT)


So it seems there is some kind of typo happening in the autoconf magic.  If
gettext is not installed when the make process reaches the po/ directory the
build dies because make tries to run 'no'.  This appears to be some kind of
oops from when configure registered that gettext did not exist.

Also, distclean fails to remove the po/*.gmo files as well as the created
intl/libintl.h link.  This causes the debian build process to fail when
it tries to run diff against the original source and the current
debianized tree.  Enclosed is a patch for this.

--- mad-0.13.0b.orig/intl/Makefile.in
+++ mad-0.13.0b/intl/Makefile.in
@@ -171,7 +171,7 @@
 clean: mostlyclean
 
 distclean: clean
-       rm -f Makefile ID TAGS po2msg.sed po2tbl.sed
+       rm -f Makefile ID TAGS po2msg.sed po2tbl.sed libintl.h
 
 maintainer-clean: distclean
        @echo "This command is intended for maintainers to use;"
--- mad-0.13.0b.orig/po/Makefile.in.in
+++ mad-0.13.0b/po/Makefile.in.in
@@ -192,7 +192,7 @@
 clean: mostlyclean
 
 distclean: clean
-       rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m
+       rm -f Makefile Makefile.in POTFILES *.gmo *.mo *.msg *.cat *.cat.m
 
 maintainer-clean: distclean
        @echo "This command is intended for maintainers to use;"

Oh, and while I am thinking about it (and this is purely cosmetic) why are so
many files marked +x in the tree?