Makefile.am 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # SPDX-License-Identifier: GPL-3.0-or-later
  2. MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
  3. CLEANFILES = \
  4. node.d.plugin \
  5. $(NULL)
  6. include $(top_srcdir)/build/subst.inc
  7. SUFFIXES = .in
  8. dist_libconfig_DATA = \
  9. node.d.conf \
  10. $(NULL)
  11. dist_plugins_SCRIPTS = \
  12. node.d.plugin \
  13. $(NULL)
  14. dist_noinst_DATA = \
  15. node.d.plugin.in \
  16. README.md \
  17. $(NULL)
  18. usernodeconfigdir=$(configdir)/node.d
  19. dist_usernodeconfig_DATA = \
  20. $(NULL)
  21. # Explicitly install directories to avoid permission issues due to umask
  22. install-exec-local:
  23. $(INSTALL) -d $(DESTDIR)$(usernodeconfigdir)
  24. nodeconfigdir=$(libconfigdir)/node.d
  25. dist_nodeconfig_DATA = \
  26. $(NULL)
  27. dist_node_DATA = \
  28. $(NULL)
  29. include snmp/Makefile.inc
  30. nodemodulesdir=$(nodedir)/node_modules
  31. dist_nodemodules_DATA = \
  32. node_modules/netdata.js \
  33. node_modules/extend.js \
  34. node_modules/pixl-xml.js \
  35. node_modules/net-snmp.js \
  36. node_modules/asn1-ber.js \
  37. $(NULL)
  38. nodemoduleslibberdir=$(nodedir)/node_modules/lib/ber
  39. dist_nodemoduleslibber_DATA = \
  40. node_modules/lib/ber/index.js \
  41. node_modules/lib/ber/errors.js \
  42. node_modules/lib/ber/reader.js \
  43. node_modules/lib/ber/types.js \
  44. node_modules/lib/ber/writer.js \
  45. $(NULL)