]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
build: add a version banner on make modules
authorJan Engelhardt <jengelh@medozas.de>
Sat, 3 Apr 2010 20:06:04 +0000 (22:06 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 4 Apr 2010 22:43:32 +0000 (00:43 +0200)
Because the build error logs of module-assistant are totally useless,
as the tarball filename has been stripped of the version, and
configure is not run either.

extensions/Makefile.am

index 56f947164eb77616662e4b53f02e65aabe61779a..66fa2fc60bdfb79c757467532d9e4223498a2faa 100644 (file)
@@ -7,6 +7,8 @@
 _kcall = -C ${kbuilddir} M=${abs_srcdir}
 
 modules:
+       @echo -n "Xtables-addons ${PACKAGE_VERSION} - Linux "
+       @if [ -n "${kbuilddir}" ]; then ${MAKE} ${_kcall} -s kernelrelease; fi;
        ${AM_V_silent}if [ -n "${kbuilddir}" ]; then ${MAKE} ${_kcall} modules; fi;
 
 modules_install: