openhpi2 / Open-HPI-base

Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
0 stars 1 forks source link

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

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