birdterm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit bf88b68c27eb9272ebc56ea5bffcea38626d2c0e
parent 22b77e79e621dcd5438c4bdfb8027d533b0c2c16
Author: mrgrouse <bdmfegys@duck.com>
Date:   Fri, 15 Nov 2024 17:22:34 -0500

Makefile: copy from old birdterm repo for birdterm file names

Diffstat:
MMakefile | 42+++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,13 +1,13 @@ -# st - simple terminal +# birdterm - simple terminal for birds # See LICENSE file for copyright and license details. .POSIX: include config.mk -SRC = st.c x.c +SRC = birdterm.c x.c OBJ = $(SRC:.c=.o) -all: st +all: birdterm config.h: cp config.def.h config.h @@ -15,37 +15,37 @@ config.h: .c.o: $(CC) $(STCFLAGS) -c $< -st.o: config.h st.h win.h -x.o: arg.h config.h st.h win.h +birdterm.o: config.h birdterm.h win.h +x.o: arg.h config.h birdterm.h win.h $(OBJ): config.h config.mk -st: $(OBJ) +birdterm: $(OBJ) $(CC) -o $@ $(OBJ) $(STLDFLAGS) clean: - rm -f st $(OBJ) st-$(VERSION).tar.gz + rm -f *.orig *.rej config.h birdterm $(OBJ) birdterm-$(VERSION).tar.gz dist: clean - mkdir -p st-$(VERSION) + mkdir -p birdterm-$(VERSION) cp -R FAQ LEGACY TODO LICENSE Makefile README config.mk\ - config.def.h st.info st.1 arg.h st.h win.h $(SRC)\ - st-$(VERSION) - tar -cf - st-$(VERSION) | gzip > st-$(VERSION).tar.gz - rm -rf st-$(VERSION) + config.def.h birdterm.info birdterm.1 arg.h birdterm.h win.h $(SRC)\ + birdterm-$(VERSION) + tar -cf - birdterm-$(VERSION) | gzip > birdterm-$(VERSION).tar.gz + rm -rf birdterm-$(VERSION) -install: st +install: birdterm mkdir -p $(DESTDIR)$(PREFIX)/bin - cp -f st $(DESTDIR)$(PREFIX)/bin - chmod 755 $(DESTDIR)$(PREFIX)/bin/st + cp -f birdterm $(DESTDIR)$(PREFIX)/bin + chmod 755 $(DESTDIR)$(PREFIX)/bin/birdterm mkdir -p $(DESTDIR)$(MANPREFIX)/man1 - sed "s/VERSION/$(VERSION)/g" < st.1 > $(DESTDIR)$(MANPREFIX)/man1/st.1 - chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 - tic -sx st.info - @echo Please see the README file regarding the terminfo entry of st. + sed "s/VERSION/$(VERSION)/g" < birdterm.1 > $(DESTDIR)$(MANPREFIX)/man1/birdterm.1 + chmod 644 $(DESTDIR)$(MANPREFIX)/man1/birdterm.1 + tic -sx birdterm.info + @echo Please see the README file regarding the terminfo entry of birdterm. uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/st - rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 + rm -f $(DESTDIR)$(PREFIX)/bin/birdterm + rm -f $(DESTDIR)$(MANPREFIX)/man1/birdterm.1 .PHONY: all clean dist install uninstall