diff options
Diffstat (limited to 'bin/Makefile')
-rw-r--r-- | bin/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/Makefile b/bin/Makefile index 77158af..5b59fbf 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -1,6 +1,6 @@ include ../config.mk -BIN_DIST=acf_cli\ +BIN_DIST=acf_cli acfpasswd EXTRA_DIST=Makefile DISTFILES=$(BIN_DIST) $(EXTRA_DIST) @@ -28,8 +28,7 @@ install: mkdir -p $(install_dir) for i in $(BIN_DIST); do\ dest=`dirname "$(install_dir)/$$i"`;\ - mkdir -p "$$dest";\ - cp "$$i" "$$dest";\ + install -Dm755 "$$i" "$$dest"/$$i ;\ done chmod 700 $(install_dir)/acf_cli |