Menu

#1873 cscope target in Makefile gives error...Incomplete file list in cscope.files

3.6.0
closed-fixed
dr_mohan
Build System
5
2015-05-22
2015-03-27
No

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 \

Discussion

  • dr_mohan

    dr_mohan - 2015-05-22
    • status: open --> closed-fixed
    • assigned_to: dr_mohan
     
  • dr_mohan

    dr_mohan - 2015-05-22

    Fixed in checkin 7628

     
MongoDB Logo MongoDB