summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-13 17:58:39 +0000
committerdavidovski <david@davidovski.xyz>2022-02-13 17:58:39 +0000
commit3364af2dbdea4c1d816b8499cf58ce0fa1790a62 (patch)
treea628c7d618f66886b62f373f3680b632d1f42d78 /Makefile
parent8ce674db7ea92f6b3e551280b462c4f52ac74116 (diff)
renamed shell scripts to .sh
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