diff options
author | José Bollo <jose.bollo@iot.bzh> | 2019-05-15 17:38:08 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-05-23 16:08:54 +0200 |
commit | 07a9590a2dfcfd18540bbb67e2fbc2fc1795e4fa (patch) | |
tree | 904090335968e74029499e9782411be1309ed9f8 /conf/unit/generate-unit-conf/Makefile | |
parent | 405ba312a11f4217e5a8742169b010e2c747a4e0 (diff) |
afm-unit: Simplify the Makefile
The use of AFM_CONFIG_DIR brings nothing except confusion.
Bug-AGL: SPEC-2436
Change-Id: I21a18ad98349bf6799b72061523bc353ad3d6c3f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/unit/generate-unit-conf/Makefile')
-rw-r--r-- | conf/unit/generate-unit-conf/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/conf/unit/generate-unit-conf/Makefile b/conf/unit/generate-unit-conf/Makefile index 562f025..2849d6f 100644 --- a/conf/unit/generate-unit-conf/Makefile +++ b/conf/unit/generate-unit-conf/Makefile @@ -6,20 +6,15 @@ FILES = $(MAIN) binder.inc provided-api.inc provided-binding.inc service.inc Mak DIR = .. -#AFM_CONFIG_DIR ?= /etc/afm -AFM_CONFIG_DIR ?= "@afm_confdir@" - -C = -DAFM_CONFIG_DIR=$(AFM_CONFIG_DIR) - D = -DAGL_DEVEL all: $(DIR)/afm-unit.conf.in $(DIR)/afm-unit-debug.conf.in $(DIR)/afm-unit.conf.in: $(FILES) @echo generating $@ - @m4 $C $< | sed '/^[ \t]*\\*[ \t]*$$/d' > $@ + @m4 $< | sed '/^[ \t]*\\*[ \t]*$$/d' > $@ $(DIR)/afm-unit-debug.conf.in: $(FILES) @echo generating $@ - @m4 $C $D $< | sed '/^[ \t]*\\*[ \t]*$$/d' > $@ + @m4 $D $< | sed '/^[ \t]*\\*[ \t]*$$/d' > $@ |