From 7cce7ea857321c854fc9e061edee3a32f4831d18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Berke=20Kocao=C4=9Flu?= Date: Thu, 16 Sep 2021 12:32:59 +0300 Subject: Rename, Update Docs and Prepare for Release (#9) Co-authored-by: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Co-authored-by: N-R-K <79544946+N-R-K@users.noreply.github.com> Co-authored-by: NRK Co-authored-by: Arthur Williams Co-authored-by: eylles --- Makefile | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 23ed7b8..9b1927c 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,8 @@ ifneq (clean,$(filter clean,$(MAKECMDGOALS))) -include config.mk endif -# sxiv version -VERSION = 26 +# nsxiv version +VERSION = 27 # PREFIX for install PREFIX ?= /usr/local @@ -40,9 +40,9 @@ OBJS = autoreload_$(AUTORELOAD).o commands.o image.o main.o options.o \ .SUFFIXES: .SUFFIXES: .c .o -all: sxiv +all: nsxiv -sxiv: $(OBJS) +nsxiv: $(OBJS) @echo "LINK $@" $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) @@ -50,7 +50,7 @@ sxiv: $(OBJS) @echo "CC $@" $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< -$(OBJS): Makefile sxiv.h commands.lst config.h config.mk +$(OBJS): Makefile nsxiv.h commands.lst config.h config.mk options.o: version.h window.o: icon/data.h @@ -73,24 +73,24 @@ version.h: Makefile .git/index echo "#define VERSION \"$${v:-$(VERSION)}\"" >$@ clean: - $(RM) *.o sxiv + $(RM) *.o nsxiv install: all - @echo "INSTALL bin/sxiv" - install -Dt $(DESTDIR)$(PREFIX)/bin sxiv - @echo "INSTALL sxiv.1" + @echo "INSTALL bin/nsxiv" + install -Dt $(DESTDIR)$(PREFIX)/bin nsxiv + @echo "INSTALL nsxiv.1" mkdir -p $(DESTDIR)$(MANPREFIX)/man1 - sed "s!PREFIX!$(PREFIX)!g; s!VERSION!$(VERSION)!g" sxiv.1 \ - >$(DESTDIR)$(MANPREFIX)/man1/sxiv.1 - chmod 644 $(DESTDIR)$(MANPREFIX)/man1/sxiv.1 - @echo "INSTALL share/sxiv/" - install -Dt $(DESTDIR)$(PREFIX)/share/sxiv/exec exec/* + sed "s!PREFIX!$(PREFIX)!g; s!VERSION!$(VERSION)!g" nsxiv.1 \ + >$(DESTDIR)$(MANPREFIX)/man1/nsxiv.1 + chmod 644 $(DESTDIR)$(MANPREFIX)/man1/nsxiv.1 + @echo "INSTALL share/nsxiv/" + install -Dt $(DESTDIR)$(PREFIX)/share/nsxiv/exec exec/* uninstall: - @echo "REMOVE bin/sxiv" - rm -f $(DESTDIR)$(PREFIX)/bin/sxiv - @echo "REMOVE sxiv.1" - rm -f $(DESTDIR)$(MANPREFIX)/man1/sxiv.1 - @echo "REMOVE share/sxiv/" - rm -rf $(DESTDIR)$(PREFIX)/share/sxiv + @echo "REMOVE bin/nsxiv" + rm -f $(DESTDIR)$(PREFIX)/bin/nsxiv + @echo "REMOVE nsxiv.1" + rm -f $(DESTDIR)$(MANPREFIX)/man1/nsxiv.1 + @echo "REMOVE share/nsxiv/" + rm -rf $(DESTDIR)$(PREFIX)/share/nsxiv -- cgit v1.2.3