Err... is this right?

Does "make dist" and friends still work?


On Sep 23, 2011, at 2:56 PM, [email protected] wrote:

> Author: bgoglin
> Date: 2011-09-23 14:56:56 EDT (Fri, 23 Sep 2011)
> New Revision: 3845
> URL: https://svn.open-mpi.org/trac/hwloc/changeset/3845
> 
> Log:
> Don't forget the Makefile.in in tests/rename
> 
> It's not a .am because we don't want automake to go there
> automatically. We just run things manually, while still
> benefiting from configure srcdir/builddir variables
> Added:
>   trunk/tests/rename/Makefile.in
> 
> Added: trunk/tests/rename/Makefile.in
> ==============================================================================
> --- (empty file)
> +++ trunk/tests/rename/Makefile.in    2011-09-23 14:56:56 EDT (Fri, 23 Sep 
> 2011)
> @@ -0,0 +1,37 @@
> +srcdir       =       @srcdir@
> +abs_top_srcdir       =       @abs_top_srcdir@
> +abs_top_builddir     =       @abs_top_builddir@
> +
> +all:
> +
> +prepare:
> +     @echo
> +     @echo "###############################"
> +     @echo Enabling renaming in headers...
> +     @echo
> +     sed     -e '/^#define HWLOC_SYM_TRANSFORM 0/s/0/1/'                     
> \
> +             -e '/^#define HWLOC_SYM_PREFIX hwloc_/s/hwloc_/foobar_/1'       
> \
> +             -e '/^#define HWLOC_SYM_PREFIX_CAPS HWLOC_/s/HWLOC_/FOOBAR_/2'  
> \
> +             -i $(abs_top_builddir)/include/hwloc/autogen/config.h 
> $(abs_top_builddir)/include/private/autogen/config.h
> +
> +missing: prepare
> +     @echo
> +     @echo "###########################"
> +     @echo Finding missing renaming...
> +     @echo
> +     cpp $(srcdir)/main.c -I $(abs_top_srcdir)/include -I 
> $(abs_top_builddir)/include \
> +             | egrep -i '(^| |\*)hwloc_'
> +
> +useless: prepare
> +     @echo
> +     @echo "###########################"
> +     @echo Finding useless renaming...
> +     @echo
> +     grep '^#define' $(abs_top_srcdir)/include/hwloc/rename.h \
> +             | awk '{print $$2}' \
> +             | egrep -v '(HWLOC_RENAME_H|HWLOC_MUNGE_NAME|HWLOC_NAME)' \
> +             | while read name ; do \
> +                     grep $$name -rwH $(abs_top_srcdir)/include/ \
> +                     | grep -v rename.h: | grep -v .svn >/dev/null \
> +                     || echo $$name; \
> +                     done
> _______________________________________________
> hwloc-svn mailing list
> [email protected]
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-svn


-- 
Jeff Squyres
[email protected]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to