openhpi2 / openhpi_bug_test

0 stars 0 forks source link

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

Closed openhpi2 closed 8 years ago

openhpi2 commented 9 years ago

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 \

Reported by: nandic

openhpi2 commented 9 years ago

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Fixed in checkin 7628

Original comment by: dr_mohan