expressing dependencies sync
authorVolker Birk <vb@pep-project.org>
Sun, 07 Apr 2019 22:28:47 +0200
branchsync
changeset 3452c92df43dc125
parent 3451 4b95e5f1fbf3
child 3453 d265bc1d3c6b
expressing dependencies
Makefile
     1.1 --- a/Makefile	Sun Apr 07 00:27:54 2019 +0200
     1.2 +++ b/Makefile	Sun Apr 07 22:28:47 2019 +0200
     1.3 @@ -9,36 +9,40 @@
     1.4  
     1.5  ifneq ($(wildcard local.conf),)
     1.6      $(info ================================================)
     1.7 -    $(info Overrides in \`local.conf\` are used.)
     1.8 +    $(info Overrides in `local.conf` are used.)
     1.9      $(info ================================================)
    1.10  endif
    1.11  
    1.12  ifdef BUILD_CONFIG
    1.13      $(info ================================================)
    1.14 -    $(info Overrides in \`$(BUILD_CONFIG)\` are used.)
    1.15 +    $(info Overrides in `$(BUILD_CONFIG)` are used.)
    1.16      $(info ================================================)
    1.17  endif
    1.18  
    1.19 -all:
    1.20 +.PHONY: all sync asn1 build install dbinstall uninstall clean tags test package db
    1.21 +
    1.22 +all: build
    1.23 +
    1.24 +sync:
    1.25  	$(MAKE) -C sync
    1.26 +
    1.27 +asn1: sync
    1.28  	$(MAKE) -C asn.1
    1.29 +
    1.30 +build: asn1
    1.31  	$(MAKE) -C src
    1.32  
    1.33 -.PHONY: install
    1.34 -install: all
    1.35 +install: build
    1.36  	$(MAKE) -C src install
    1.37  	$(MAKE) -C asn.1 install
    1.38  
    1.39 -.PHONY: dbinstall
    1.40  dbinstall: db
    1.41  	$(MAKE) -C db install
    1.42  
    1.43 -.PHONY: uninstall
    1.44  uninstall:
    1.45  	$(MAKE) -C src uninstall
    1.46  	$(MAKE) -C asn.1 uninstall
    1.47  
    1.48 -.PHONY: clean
    1.49  clean:
    1.50  	$(MAKE) -C src clean
    1.51  	$(MAKE) -C test clean
    1.52 @@ -46,16 +50,13 @@
    1.53  	$(MAKE) -C sync clean
    1.54  	$(MAKE) -C asn.1 clean
    1.55  
    1.56 -.PHONY: tags
    1.57  tags:
    1.58  	$(MAKE) -C asn.1 tags
    1.59  	$(MAKE) -C src tags
    1.60  
    1.61 -.PHONY: test
    1.62  test: all
    1.63  	$(MAKE) -C test test
    1.64  
    1.65 -.PHONY: package
    1.66  package: clean
    1.67  	cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 "$(HERE_REL)"
    1.68