Skip to content
Snippets Groups Projects
Select Git revision
  • 31731b286d4a3a204982dca0e5b259761220777f
  • master default protected
  • 0.5.9
  • 0.5.8
  • 0.5.7
  • 0.5.6
  • 0.5.5
  • 0.5.4
  • 0.5.3
  • 0.5.2
  • 0.5.1
  • 0.5.0
  • 0.4.17
  • 0.4.16
  • 0.4.15
  • 0.4.14
  • 0.4.13
  • 0.4.12
  • 0.4.11
  • 0.4.10
  • 0.4.9
  • 0.4.8
22 results

jsdoc-json.mk

Blame
  • Makefile 19.08 KiB
    #############################################################################################
    #############################################################################################
    ##
    ## PROJECT-DEFINITIONS
    ##
    #############################################################################################
    #############################################################################################
    
    COPYRIGHT_TEXT       := © 2021 schukai GmbH, Released under the AGPL 3.0 License.
    
    #############################################################################################
    #############################################################################################
    ##
    ## more general block with standard definitions
    ##
    #############################################################################################
    #############################################################################################
    
    # get Makefile directory name: http://stackoverflow.com/a/5982798/376773
    THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
    THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)/
    THIS_MAKEFILE:=$(THIS_DIR)$(THIS_MAKEFILE_PATH)
    
    # colors
    BLACK        := $(shell tput -Txterm setaf 0)
    RED          := $(shell tput -Txterm setaf 1)
    GREEN        := $(shell tput -Txterm setaf 2)
    YELLOW       := $(shell tput -Txterm setaf 3)
    LIGHTPURPLE  := $(shell tput -Txterm setaf 4)
    PURPLE       := $(shell tput -Txterm setaf 5)
    BLUE         := $(shell tput -Txterm setaf 6)
    WHITE        := $(shell tput -Txterm setaf 7)
    RESET        := $(shell tput -Txterm sgr0)
    
    INFO    := $(GREEN)
    COMMENT := $(YELLOW)
    
    # Output control and standard outputs
    MARKER           := $(BLUE)[+]$(RESET)
    ERRORMARKER      := $(RED)[-]$(RESET)
    ## Deactivate the QUIET mode by overwriting the value with space
    
    ifndef DEBUG
        QUIET = @
    else
        QUIET = 
    endif
    
    ifndef DONTOPENBROWSER
        OPENBROWSER = true
    else
        OPENBROWSER = false
    endif
    
    ECHO             := @echo
    ECHOMARKER       := @echo "$(MARKER) $0"
    ECHOERRORMARKER  := @echo "$(ERRORMARKER) $0"
    
    # Use bash instead of sh
    ## Sets the shell used
    SHELL            =  bash
    
    # path and binaries
    AWK              := awk
    CP               := cp
    CD               := cd
    KILL             := /bin/kill
    M4               := m4
    MV               := mv
    RM               := rm -f