From dd78faaf40862bd1552ec36c41374b527f747284 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 23 Feb 2024 03:08:52 -0800 Subject: Reorganize shell scripts into sh dir, consider in the future fsh will have different kinds of files --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index df3b91f..e23b26f 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ PREFIX = /usr/local install: mkdir -p ${DESTDIR}${PREFIX}/bin # Another way would be define and use INSTALL INSTALL_PROGRAM INSTALL_DATA instead of use `cp -f` or `install` directly, see `info make` - cp -f ${SH} ${DESTDIR}${PREFIX}/bin + for i in ${SH}; do cp -f sh/$$i ${DESTDIR}${PREFIX}/bin; done uninstall: for i in ${SH}; do rm -f ${DESTDIR}${PREFIX}/bin/$$i; done -- cgit v1.2.3-70-g09d2