1
0
Fork 0
forked from murx/murx

Rename moerx to murx and refactor session display options

This commit is contained in:
Johannes Findeisen 2026-11-17 03:06:45 +01:00
commit 984722aa47
8 changed files with 235 additions and 214 deletions

View file

@ -5,21 +5,21 @@ PREFIX ?= /usr/local
BINDIR = $(PREFIX)/bin
MANDIR ?= $(PREFIX)/share/man
all: moerx
all: murx
moerx: moerx.c
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ moerx.c $(LDLIBS)
murx: murx.c
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ murx.c $(LDLIBS)
install: moerx moerx.1
install: murx murx.1
install -d "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(MANDIR)/man1"
install -m 755 moerx "$(DESTDIR)$(BINDIR)/moerx"
install -m 644 moerx.1 "$(DESTDIR)$(MANDIR)/man1/moerx.1"
install -m 755 murx "$(DESTDIR)$(BINDIR)/murx"
install -m 644 murx.1 "$(DESTDIR)$(MANDIR)/man1/murx.1"
uninstall:
rm -f "$(DESTDIR)$(BINDIR)/moerx"
rm -f "$(DESTDIR)$(MANDIR)/man1/moerx.1"
rm -f "$(DESTDIR)$(BINDIR)/murx"
rm -f "$(DESTDIR)$(MANDIR)/man1/murx.1"
clean:
rm -f moerx
rm -f murx
.PHONY: all install uninstall clean