Ethereal-dev: [Ethereal-dev] trivial Makefile.in patch (make "make svr4-package" quieter)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jeff Morriss <morriss@xxxxxxxxx>
Date: Mon, 15 Dec 2003 15:04:03 -0500

Hi list,

Here's a trivial patch to make doing "make svr4-package" quieter (I especially care about suppressing the unprinted-in-this-case Error message).

Here's the original output:

elroy [~/ethereal-dev/source/]> make svr4-package
if test xyes = xyes ; then \
        rm -rf `cd . && pwd`/packaging/svr4.stage/ethereal.stage ; \
        make DESTDIR=`cd . && pwd`/packaging/svr4.stage/ethereal.stage install; \
        ./packaging/svr4/mkpkg \
                ethereal \
                ethereal-0.10.0a-solaris2.9-sparc-local \
                /usr/local \
                `cd . && pwd`/packaging/svr4.stage ; \
else \
        echo "Error: SVR4 packaging tools not found." ; \
        echo "Package build abandoned." ; \
fi
make[1]: Entering directory `/u/morriss/ethereal-dev/source'
[...]

and the new output:

elroy [~/ethereal-dev/source/]> make svr4-package
make[1]: Entering directory `/u/morriss/ethereal-dev/source'
[...]

Please consider for inclusion.

Index: Makefile.am
===================================================================
RCS file: /cvsroot/ethereal/Makefile.am,v
retrieving revision 1.669
diff -u -r1.669 Makefile.am
--- Makefile.am	13 Dec 2003 18:05:48 -0000	1.669
+++ Makefile.am	15 Dec 2003 20:01:15 -0000
@@ -1352,7 +1352,7 @@
 host_os=@host_os@
 
 svr4-package: $(bin_SCRIPTS) $(lib_LTLIBRARIES)
-	if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
+	@if test x$(HAVE_SVR4_PACKAGING) = xyes ; then \
 		rm -rf $(stagedir) ; \
 		$(MAKE) DESTDIR=$(stagedir) install; \
 		$(srcdir)/packaging/svr4/mkpkg \