Makefile throws error for 'cscope' target
# ./configure
# make cscope
find: paths must precede expression: *.cpp
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
find: paths must precede expression: *.cpp
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
making cscope
Possible fix:
-------------------
# svn diff
Index: Makefile.am
===================================================================
--- Makefile.am (revision 7620)
+++ Makefile.am (working copy)
@@ -77,9 +77,9 @@
$(shell find $(top_srcdir)/utils -name .svn -o -name CVS -prune -o \
-name '*.[chS]' -print | grep -v '/t/') \
$(shell find $(top_srcdir)/openhpid -name .svn -o -name CVS -prune -o \
- -name '*.[chS]' -print -o '*.cpp' -print | grep -v '/t/') \
+ -name '*.[chS]' -print -o -name '*.cpp' -print | grep -v '/t/') \
$(shell find $(top_srcdir)/plugins -name .svn -o -name CVS -prune -o \
- -name '*.[chS]' -print -o '*.cpp' -print | grep -v '/t/') \
+ -name '*.[chS]' -print -o -name '*.cpp' -print | grep -v '/t/') \
$(shell find $(top_srcdir)/snmp -name .svn -o -name CVS -prune -o \
-name '*.[chS]' -print | grep -v '/t/') \
$(shell find $(top_srcdir)/ssl -name .svn -o -name CVS -prune -o \
Fixed in checkin 7628