On Wed, Dec 18, 2024 at 12:32:54PM -0600, izzy Meyer wrote: > Hello misc@ > > ```makefile > PREFIX ?= /usr/local > BINDIR = ${PREFIX}/bin > MANDIR = ${PREFIX}/man/man1 > > SCRIPT = wireless > MAN = wireless.1 > > all: # nothing to build > > install: > install -m 755 $(SCRIPT) $(BINDIR) > install -m 644 $(MAN) $(MANDIR) > > .include <bsd.prog.mk> > ``` > > I'm trying to write a makefile for my openbsd wireless manager script, > but the manpage isnt properly installing. its complaining about a bogus > manpage entry when i try to `apropos` it. any idea what i'm doing wrong > here? >
hi. not sure what you mean by "manpage isn;t installing properly", but if it's just "complaining about a bogus manpage entry when i try to `apropos` it": have you updated your databases after installing? you might have to run makewhatis(8). also i'm not familiar with the "SCRIPT =" notation, but you might not need the "MAN =" entry if it works like PROG. jmc, *NOT* providing Makefile advice > The source is > here: https://codeberg.org/izder456/utils (i haven't committed this makefile, > I have a nonfunctional on in the main branch currently) > > > -- > iz (they/them) > > > i like to say mundane things, > > there are too many uninteresting things > > that go unnoticed. > > izder456 (dot) neocities (dot) org