diff options
Diffstat (limited to 'plugins/docsis/Makefile.am')
-rw-r--r-- | plugins/docsis/Makefile.am | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/plugins/docsis/Makefile.am b/plugins/docsis/Makefile.am index bc2d65cc97..bb38dca2e5 100644 --- a/plugins/docsis/Makefile.am +++ b/plugins/docsis/Makefile.am @@ -81,18 +81,10 @@ LIBS = # a plugin.c file for a plugin. # All subsequent arguments are the files to scan. # -plugin.c: $(REGISTER_SRC_FILES) Makefile.common $(top_srcdir)/tools/make-dissector-reg \ - $(top_srcdir)/tools/make-dissector-reg.py - @if test -n "$(PYTHON)"; then \ - echo Making plugin.c with python ; \ - $(PYTHON) $(top_srcdir)/tools/make-dissector-reg.py $(srcdir) \ - plugin $(REGISTER_SRC_FILES) ; \ - else \ - echo Making plugin.c with shell script ; \ - $(top_srcdir)/tools/make-dissector-reg $(srcdir) \ - $(plugin_src) plugin $(REGISTER_SRC_FILES) ; \ - fi - +plugin.c: $(REGISTER_SRC_FILES) Makefile.common $(top_srcdir)/tools/make-dissector-reg.py + echo Making plugin.c with python ; \ + $(PYTHON) $(top_srcdir)/tools/make-dissector-reg.py $(srcdir) \ + plugin $(REGISTER_SRC_FILES) ; # # Currently plugin.c can be included in the distribution because # we always build all protocol dissectors. We used to have to check |