Makefile 1020 B

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # Asterisk -- A telephony toolkit for Linux.
  3. #
  4. # Contrib scripts
  5. #
  6. # Copyright (C) 1999-2014, Digium, Inc.
  7. #
  8. # This program is free software, distributed under the terms of
  9. # the GNU General Public License
  10. #
  11. ASTTOPDIR?=..
  12. -include $(ASTTOPDIR)/menuselect.makeopts
  13. .PHONY: all clean install uninstall
  14. all:
  15. clean:
  16. include $(ASTTOPDIR)/Makefile.rules
  17. install:
  18. $(INSTALL) -d "$(DESTDIR)$(ASTDATADIR)/scripts"
  19. $(INSTALL) -m 755 scripts/ast_logescalator "$(DESTDIR)$(ASTDATADIR)/scripts/ast_logescalator"
  20. $(INSTALL) -m 755 scripts/ast_loggrabber "$(DESTDIR)$(ASTDATADIR)/scripts/ast_loggrabber"
  21. $(INSTALL) -m 755 scripts/ast_coredumper "$(DESTDIR)$(ASTDATADIR)/scripts/ast_coredumper"
  22. $(INSTALL) -m 755 scripts/refcounter.py "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py"
  23. uninstall:
  24. -rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/ast_logescalator"
  25. -rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/ast_loggrabber"
  26. -rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/ast_coredumper"
  27. -rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py"