From 9143f513c3c7a6f8e44bb048f7c0a693a3d8a928 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Sat, 19 Feb 2022 07:36:47 +0900 Subject: [PATCH] make: make scdoc optional (no manpage) --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 5fddb83..a41947f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -49,7 +49,7 @@ $(pkgconfigs): %: VERSION %.in sed "s/@VERSION@/$(VERSION)/;s,@PREFIX@,$(PREFIX),;s,@LIBDIR@,$(libdir),;s,@INCLUDEDIR@,$(includedir)," $(addsuffix .in, $@) > $@ bemenu.1: man/bemenu.1.scd.in - sed 's,@LIBDIR@,$(PREFIX)$(libdir),' $< | scdoc > $@ + -sed 's,@LIBDIR@,$(PREFIX)$(libdir),' $< | scdoc > $@ $(renderers): %: VERSION .git/index | $(libs) $(LINK.c) -shared -fPIC $(filter %.c %.a,$^) $(LDLIBS) -L. -lbemenu -o $@ @@ -125,7 +125,7 @@ install-bins: install-man: bemenu.1 mkdir -p "$(DESTDIR)$(PREFIX)$(mandir)" - cp $< "$(DESTDIR)$(PREFIX)$(mandir)" + -cp $< "$(DESTDIR)$(PREFIX)$(mandir)" install-renderers: install-curses install-wayland install-x11