--- tme/modules 2018/04/24 16:37:52 1.1.1.1 +++ tme/modules 2018/04/24 16:39:17 1.1.1.2 @@ -1,4 +1,4 @@ -# $Id: modules,v 1.1.1.1 2018/04/24 16:37:52 root Exp $ +# $Id: modules,v 1.1.1.2 2018/04/24 16:39:17 root Exp $ ## This is an automake include file. @@ -54,14 +54,12 @@ all-local: # this directory was originally just for include files and to make # #include work right when building: @echo updating tme modules list.. - @grep TME_ELEMENT_NEW_DECL $(srcdir)/*.c | \ + @( grep TME_ELEMENT_NEW_DECL $(srcdir)/*.c ; \ + grep TME_ELEMENT_SUB_NEW_DECL $(srcdir)/*.c ; \ + grep TME_ELEMENT_X_NEW_DECL $(srcdir)/*.c ) | \ sed -e 's%.*TME_ELEMENT_NEW_DECL(\(.*\)).*%\1%' \ - >> $(top_builddir)/tme/tme-plugins.txt - @grep TME_ELEMENT_SUB_NEW_DECL $(srcdir)/*.c | \ - sed -e 's%.*TME_ELEMENT_SUB_NEW_DECL(\(.*\),\(.*\)).*%\1_\2 \1 \2%' \ - >> $(top_builddir)/tme/tme-plugins.txt - @grep TME_ELEMENT_X_NEW_DECL $(srcdir)/*.c | \ - sed -e 's%.*TME_ELEMENT_X_NEW_DECL(\(.*\),\(.*\),\(.*\)).*%\1\3 \1\2 \3%' \ + -e 's%.*TME_ELEMENT_SUB_NEW_DECL(\(.*\),\(.*\)).*%\1_\2 \1 \2%' \ + -e 's%.*TME_ELEMENT_X_NEW_DECL(\(.*\),\(.*\),\(.*\)).*%\1\3 \1\2 \3%' \ >> $(top_builddir)/tme/tme-plugins.txt # # next, when building statically, either for debugging purposes or