1
0
mirror of https://github.com/Cloudef/bemenu synced 2024-11-23 01:12:01 +01:00

make: make scdoc optional (no manpage)

This commit is contained in:
Jari Vetoniemi 2022-02-19 07:36:47 +09:00 committed by Jari Vetoniemi
parent 7f39f19ae4
commit 9143f513c3

@ -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