diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-05-01 11:09:24 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-05-01 11:09:24 +0200 |
commit | 48804d10fe82c3b5d871187858312aa2bcbed510 (patch) | |
tree | ffae74e29a005aaa03315e821072ad78ecf2a390 /Makefile | |
parent | 5e8118b2523cc917714ca89aef35dc421cafe191 (diff) |
don't install feh-cam and gen-cam-menu by default
They have been deprecated since 2011 and may be removed entirely in future
versions.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 21 insertions, 6 deletions
@@ -21,12 +21,28 @@ test-x11: all install: install-man install-doc install-bin install-font install-img install: install-examples install-applications +ifeq (${cam},1) +install: install-cam +uninstall: uninstall-cam +endif + +install-cam: + @echo installing fe-cam and gen-cam-menu + @cp man/feh-cam.1 man/gen-cam-menu.1 ${man_dir}/man1 + @chmod 644 ${man_dir}/man1/feh-cam.1 ${man_dir}/man1/gen-cam-menu.1 + @cp cam/feh-cam cam/gen-cam-menu ${bin_dir} + @chmod 755 ${bin_dir}/feh-cam ${bin_dir}/gen-cam-menu + +uninstall-cam: + rm -f ${man_dir}/man1/feh-cam.1 + rm -f ${man_dir}/man1/gen-cam-menu.1 + rm -f ${bin_dir}/feh-cam ${bin_dir}/gen-cam-menu + install-man: @echo installing manuals to ${man_dir} @mkdir -p ${man_dir}/man1 - @cp man/*.1 ${man_dir}/man1 - @chmod 644 ${man_dir}/man1/feh.1 ${man_dir}/man1/feh-cam.1 \ - ${man_dir}/man1/gen-cam-menu.1 + @cp man/feh.1 ${man_dir}/man1 + @chmod 644 ${man_dir}/man1/feh.1 install-doc: @echo installing docs to ${doc_dir} @@ -38,9 +54,8 @@ install-doc: install-bin: @echo installing executables to ${bin_dir} @mkdir -p ${bin_dir} - @cp src/feh cam/feh-cam cam/gen-cam-menu ${bin_dir} - @chmod 755 ${bin_dir}/feh ${bin_dir}/feh-cam \ - ${bin_dir}/gen-cam-menu + @cp src/feh ${bin_dir} + @chmod 755 ${bin_dir}/feh install-font: @echo installing fonts to ${font_dir} |