~ubuntu-branches/debian/lenny/net-snmp/lenny

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-05-10 22:20:23 UTC
  • Revision ID: james.westby@ubuntu.com-20070510222023-3fr07xb9i17xvq32
Tags: upstream-5.3.1
ImportĀ upstreamĀ versionĀ 5.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
        -rm docs/man/man3/deprecated.3
108
108
 
109
109
docsmunge:
110
 
        find docs/html -name \*.html -exec perl -p -i -e 's/Generated on/<!--#include virtual=\"\/sfbutton.html\" --><br>Generated on\n/; s/<body/<body bgcolor=white/' {} \;
 
110
        $(FIND) docs/html -name \*.html -exec $(PERL) -p -i -e 's/Generated on/<!--#include virtual=\"\/sfbutton.html\" --><br>Generated on\n/; s/<body/<body bgcolor=white/' {} \;
111
111
 
112
112
 
113
113
mancp:
134
134
test: all testdirs
135
135
        ( cd testing; $(MAKE) test )
136
136
 
 
137
test-mibs: all testdirs
 
138
        ( cd testing; $(MAKE) test-mibs )
 
139
 
137
140
testdirs:
138
141
        for i in $(TESTDIRS) ; do       \
139
142
           ( cd $$i ; $(MAKE) ) ;               \
160
163
        @if test ! -f perl/Makefile; then \
161
164
          (dir=`pwd`; \
162
165
           cd perl ; \
163
 
           perl Makefile.PL -NET-SNMP-IN-SOURCE=true -NET-SNMP-CONFIG="sh $$dir/net-snmp-config" $(PERLARGS) ) ; \
 
166
           $(PERL) Makefile.PL -NET-SNMP-IN-SOURCE=true -NET-SNMP-CONFIG="sh $$dir/net-snmp-config" $(PERLARGS) ) ; \
164
167
        fi
165
168
 
166
169
perlinstall:
282
285
# Emacs TAGS file
283
286
#
284
287
TAGS:
285
 
        find $(srcdir) -path $(srcdir)/dist/rpm -prune -o -name '*.[ch]' -print | etags -
 
288
        $(FIND) $(srcdir) -path $(srcdir)/dist/rpm -prune -o -name '*.[ch]' -print | etags -
286
289
 
287
290
#
288
291
# Internal distribution packaging, etc.
309
312
checks:
310
313
        $(MAKE) -k makefilecheck commentcheck warningcheck dependcheck
311
314
 
312
 
# always exit 1, since I can't figure out how to invert grep rc
313
315
dependcheck:
314
316
        @echo "Checking for full paths in dependency files..."
315
 
        @grep -n -E "^/" `find . -name Makefile.depend`
316
 
        @exit 1
 
317
        @grep -n -E "^/" `$(FIND) $(top_srcdir) -name Makefile.depend` && exit 1
317
318
 
318
 
# always exit 1, since I can't figure out how to invert grep rc
319
319
warningcheck:
320
320
        @echo "Checking for cpp warnings..."
321
 
        @grep -n -E "#warning" `find . -name \*.\[ch\]`
322
 
        @exit 1
 
321
        @grep -n -E "#warning" `$(FIND) $(top_srcdir) -name \*.\[ch\]` && exit 1
323
322
 
324
 
# always exit 1, since I can't figure out how to invert grep rc
325
323
commentcheck:
326
324
        @echo "Checking for C++ style comments..."
327
 
        @grep -n -E "([^:)]|^)//" `find . -path './win32' -prune -o -name \*.\[ch\]`
328
 
        @exit 1
 
325
        @grep -n -E "([^:)n]|^)//" `$(FIND) $(top_srcdir) -path './win32' -prune -o -name \*.\[ch\]` && exit 1
329
326
 
330
327
# always exit 1, since I can't figure out how to invert grep rc
331
328
makefilecheck:
332
329
        @echo "Checking for non-portable Makefile constructs..."
333
 
        @grep -n "\.c=" `find . -name "Makefile.*"` && exit 1
 
330
        @grep -n "\.c=" `$(FIND) $(top_srcdir) -name "Makefile.*"`
334
331
        @exit 1
335
332
 
336
333
dist: tag tar