summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 4836466..4c2ad4c 100755
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ PREFIX=/usr
.DEFAULT_GOAL := build
-install: install-hbar install-colors install-parseconf
+install: install-hbar install-colors install-parseconf install-shtests
build: build-hbar
install-headers: src/*.h
@@ -16,13 +16,10 @@ install-shtests: src/shtests
install -m755 src/shtests.sh ${DESTDIR}${PREFIX}/bin/shtests
install-chroot: src/xichroot
- install -m755 src/xichroot ${DESTDIR}${PREFIX}/bin/
+ install -m755 src/xichroot.sh ${DESTDIR}${PREFIX}/bin/xichroot
install-parseconf: src/parseconf
- install -m755 src/parseconf ${DESTDIR}${PREFIX}/bin/
-
-check-parseconf:
- shtests ./test/parseconf.sh
+ install -m755 src/parseconf.sh ${DESTDIR}${PREFIX}/bin/parseconf
install-hbar: build-hbar
install -m755 bin/hbar ${DESTDIR}${PREFIX}/bin
@@ -30,11 +27,13 @@ install-hbar: build-hbar
install-colors: src/colors.list
sh src/generate_colors.sh ${DESTDIR}${PREFIX} src/colors.list
+check-parseconf:
+ shtests ./test/parseconf.sh
-clean:
- rm -r bin
build-hbar: src/hbar.c install-colors
mkdir -pv bin
${CC} src/hbar.c -o bin/hbar ${FLAGS}
+clean:
+ rm -r bin