blob: e85fb555fc54ac689aa8b2c00761f02c842263e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id$
export SHELL = /bin/sh
.PHONY : test log all clean uninstall
log :
@printf "Building in background, and logging to ./make.log\n"
( $(MAKE) all > ./make.log 2>&1 ) &
all :
$(MAKE) -C ./encap-profiles all
$(MAKE) -C ./bcfg2-site all
$(MAKE) -C ./makeself-dist all
@printf "\n\nencap build finished...\n"
@printf "\tClient install self-extracting/installing package is:\n"
@printf "\t\t%s\n" "`ls ./makeself-dist/*.run 2>/dev/null`"
@printf "\tUse 'epkg -i <packagename>' to install encap packages...\n"
@printf "\t\tDoc encap packages are:\n"
-@(ls ./encap-profiles/*doc*.tar.gz 2>/dev/null | sed 's/^/\t\t\t/g')
@printf "\t\tServer encap packages, if built (GNU/Linux only), are:\n"
-@printf "\t\t\t%s\n" "`ls ./encap-profiles/bcfg2-glib-*.tar.gz 2>/dev/null`"
-@printf "\t\t\t%s\n" "`ls ./encap-profiles/bcfg2-gamin-*.tar.gz 2>/dev/null`"
-@printf "\t\t\t%s\n" "`ls ./encap-profiles/bcfg2-cheetah-[0-9]*.tar.gz 2>/dev/null`"
@printf "\n"
clean :
-rm ./*.log ./*~ ./\#*
uninstall : clean
$(MAKE) -C ./encap-profiles uninstall
$(MAKE) -C ./bcfg2-site distclean
$(MAKE) -C ./makeself-dist distclean
|