Skip to content
Snippets Groups Projects
Select Git revision
  • edf339623825e442cdad411cc5edb565e4a8b09f
  • master default protected
  • 1.31
  • 4.38.8
  • 4.38.7
  • 4.38.6
  • 4.38.5
  • 4.38.4
  • 4.38.3
  • 4.38.2
  • 4.38.1
  • 4.38.0
  • 4.37.2
  • 4.37.1
  • 4.37.0
  • 4.36.0
  • 4.35.0
  • 4.34.1
  • 4.34.0
  • 4.33.1
  • 4.33.0
  • 4.32.2
  • 4.32.1
23 results

target-reqman.mk

Blame
  • target-reqman.mk 1.49 KiB
    #############################################################################################
    #############################################################################################
    ##
    ## REQMAN-TARGETS
    ##
    #############################################################################################
    #############################################################################################
    
    
    # @TODO not working, check if this is a bug in this definition!!!
    
    ifeq ($(REQMAN_BIN),) 
      $(error "$(REQMAN_BIN) is not installed. Please check your makefile and include the reqman.mk")
    endif
    
    $(REQMAN_BIN):
    	$(QUIET) $(MKDIR) -p $(VENDOR_PATH)
    	$(QUIET) $(WGET) -O $(REQMAN_BIN) http://download.schukai.com/tools/reqman/reqman-$(shell uname -s | tr [:upper:] [:lower:])-$(shell echo `uname -m | sed s/aarch64/arm64/ | sed s/x86_64/amd64/`)
    	$(QUIET) $(CHMOD) u+x $(REQMAN_BIN)
    
    $(PROJECT_ROOT)deployment/build/manual.html: $(DOCMAN_BIN)
    	$(REQMAN_BIN) print html --config $(PROJECT_ROOT)requirement/config.yaml
    
    $(PROJECT_ROOT)deployment/build/manual.pdf: $(DOCMAN_BIN)
    	$(REQMAN_BIN) print pdf --config $(PROJECT_ROOT)requirement/config.yaml
    
    .PHONY: build-req-pdf
    ## creating the requirement in pdf format
    build-req-pdf: $(PROJECT_ROOT)deployment/build/requirement.pdf
    
    .PHONY: build-req-html
    ## creating the requirement in html format
    build-req-html: $(PROJECT_ROOT)deployment/build/requirement.html
    
    
    .PHONY: build-req
    ## creating the requirement in pdf and html format
    build-req: build-req-pdf build-req-html