5bcea8fbe2ee7d25615e189801a6a321ad639a3e
[demo.git] / tutorials / ApacheCNF / templates / helm / Makefile
1 vf-modules = apache
2 .PHONY: build clean $(vf-modules:=-build) $(vf-modules:-clean) $(vf-modules:=-package)
3
4 package: $(vf-modules:=-package)
5 build: $(vf-modules:=-build)
6 clean: $(vf-modules:=-clean)
7
8 $(vf-modules:=-package): %-package: %-build
9         mv $(@:package=)*.tgz helm_$(@:-package=).tgz
10
11 $(vf-modules:=-build): %-build: %-clean
12         helm repo add bitnami https://charts.bitnami.com/bitnami
13         helm pull bitnami/apache --version 7.6.0
14
15 $(vf-modules:=-clean):
16         rm -f $(@:-clean=)-*.tgz
17         rm -f helm_$(@:-clean=).tgz