From f2bb3d60068fae03df6a530afecb7a4c2e2ef3ab Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 7 Oct 2017 12:27:33 +0200 Subject: use temporary file and mv to replace feh binary in case it is currently running --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5d369bc..3540679 100644 --- a/Makefile +++ b/Makefile @@ -58,7 +58,8 @@ install-doc: install-bin: @echo installing executables to ${bin_dir} @mkdir -p ${bin_dir} - @cp src/feh ${bin_dir} + @cp src/feh ${bin_dir}/feh.tmp + @mv ${bin_dir}/feh.tmp ${bin_dir}/feh @chmod 755 ${bin_dir}/feh install-font: -- cgit v1.2.3 From 37c7e847212e8954f8e9047c42345af29edee6e9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 28 Feb 2018 20:49:16 +0100 Subject: Makefile: Set permissions of font and image directories Closes #367 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3540679..925e3fb 100644 --- a/Makefile +++ b/Makefile @@ -65,12 +65,14 @@ install-bin: install-font: @echo installing fonts to ${font_dir} @mkdir -p ${font_dir} + @chmod 755 ${font_dir} @cp share/fonts/* ${font_dir} @chmod 644 ${font_dir}/* install-img: @echo installing images to ${image_dir} @mkdir -p ${image_dir} + @chmod 755 ${image_dir} @cp share/images/* ${image_dir} @chmod 644 ${image_dir}/* -- cgit v1.2.3