Fix compatibility with FreeBSD coreutils

I needed to patch this to package wlopm for chimera linux, which uses
FreeBSD's coreutils. Apparently -D is not portable, it means something
different for FreeBSD install.
This commit is contained in:
Isaac Freund 2024-02-11 22:40:04 +01:00 committed by Leon Henrik Plickat
parent 2e8d305b9e
commit dffcf3d8fc

View File

@ -21,8 +21,10 @@ $(OBJ): $(GEN)
$(SCANNER) client-header < $< > $@
install: wlopm
install -D wlopm $(DESTDIR)$(BINDIR)/wlopm
install -m 644 -D wlopm.1 $(DESTDIR)$(MANDIR)/man1/wlopm.1
install -d $(DESTDIR)$(BINDIR)
install wlopm $(DESTDIR)$(BINDIR)
install -d $(DESTDIR)$(MANDIR)/man1
install -m 644 wlopm.1 $(DESTDIR)$(MANDIR)/man1
uninstall:
$(RM) $(DESTDIR)$(BINDIR)/wlopm