"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Makefile" between
nnn-v4.1.1.tar.gz and nnn-v4.2.tar.gz

About: nnn is a full-featured terminal file manager.

Makefile  (nnn-v4.1.1):Makefile  (nnn-v4.2)
skipping to change at line 34 skipping to change at line 34
O_QSORT := 0 # use Alexey Tourbin's QSORT implementation O_QSORT := 0 # use Alexey Tourbin's QSORT implementation
O_BENCH := 0 # benchmark mode (stops at first user input) O_BENCH := 0 # benchmark mode (stops at first user input)
O_NOSSN := 0 # enable session support O_NOSSN := 0 # enable session support
O_NOUG := 0 # disable user, group name in status bar O_NOUG := 0 # disable user, group name in status bar
O_NOX11 := 0 # disable X11 integration O_NOX11 := 0 # disable X11 integration
# User patches # User patches
O_GITSTATUS := 0 # add git status to detail view O_GITSTATUS := 0 # add git status to detail view
O_NAMEFIRST := 0 # print file name first, add uid and guid to detail view O_NAMEFIRST := 0 # print file name first, add uid and guid to detail view
ifeq ($(strip $(O_GITSTATUS)),1)
LDLIBS += -lgit2
endif
# convert targets to flags for backwards compatibility # convert targets to flags for backwards compatibility
ifneq ($(filter debug,$(MAKECMDGOALS)),) ifneq ($(filter debug,$(MAKECMDGOALS)),)
O_DEBUG := 1 O_DEBUG := 1
endif endif
ifneq ($(filter norl,$(MAKECMDGOALS)),) ifneq ($(filter norl,$(MAKECMDGOALS)),)
O_NORL := 1 O_NORL := 1
endif endif
ifneq ($(filter nolc,$(MAKECMDGOALS)),) ifneq ($(filter nolc,$(MAKECMDGOALS)),)
O_NORL := 1 O_NORL := 1
O_NOLC := 1 O_NOLC := 1
skipping to change at line 224 skipping to change at line 220
mkdir -p nnn-$(VERSION) mkdir -p nnn-$(VERSION)
$(CP) -r $(DISTFILES) nnn-$(VERSION) $(CP) -r $(DISTFILES) nnn-$(VERSION)
tar -cf - nnn-$(VERSION) | gzip > nnn-$(VERSION).tar.gz tar -cf - nnn-$(VERSION) | gzip > nnn-$(VERSION).tar.gz
$(RM) -r nnn-$(VERSION) $(RM) -r nnn-$(VERSION)
sign: sign:
git archive -o nnn-$(VERSION).tar.gz --format tar.gz --prefix=nnn-$(VERSI ON)/ v$(VERSION) git archive -o nnn-$(VERSION).tar.gz --format tar.gz --prefix=nnn-$(VERSI ON)/ v$(VERSION)
gpg --detach-sign --yes nnn-$(VERSION).tar.gz gpg --detach-sign --yes nnn-$(VERSION).tar.gz
rm -f nnn-$(VERSION).tar.gz rm -f nnn-$(VERSION).tar.gz
upload-local: sign static musl-static upload-local: sign static musl
$(eval ID=$(shell curl -s 'https://api.github.com/repos/jarun/nnn/release s/tags/v$(VERSION)' | jq .id)) $(eval ID=$(shell curl -s 'https://api.github.com/repos/jarun/nnn/release s/tags/v$(VERSION)' | jq .id))
# upload sign file # upload sign file
curl -XPOST 'https://uploads.github.com/repos/jarun/nnn/releases/$(ID)/as sets?name=nnn-$(VERSION).tar.gz.sig' \ curl -XPOST 'https://uploads.github.com/repos/jarun/nnn/releases/$(ID)/as sets?name=nnn-$(VERSION).tar.gz.sig' \
-H 'Authorization: token $(NNN_SIG_UPLOAD_TOKEN)' -H 'Content-Type: a pplication/pgp-signature' \ -H 'Authorization: token $(NNN_SIG_UPLOAD_TOKEN)' -H 'Content-Type: a pplication/pgp-signature' \
--upload-file nnn-$(VERSION).tar.gz.sig --upload-file nnn-$(VERSION).tar.gz.sig
# upx compress all static binaries # upx compress all static binaries
upx -qqq $(BIN)-static upx -qqq $(BIN)-static
upx -qqq $(BIN)-icons-static upx -qqq $(BIN)-icons-static
upx -qqq $(BIN)-nerd-static upx -qqq $(BIN)-nerd-static
# upload static binary # upload static binary
skipping to change at line 256 skipping to change at line 252
curl -XPOST 'https://uploads.github.com/repos/jarun/nnn/releases/$(ID)/as sets?name=$(BIN)-nerd-static-$(VERSION).x86_64.tar.gz' \ curl -XPOST 'https://uploads.github.com/repos/jarun/nnn/releases/$(ID)/as sets?name=$(BIN)-nerd-static-$(VERSION).x86_64.tar.gz' \
-H 'Authorization: token $(NNN_SIG_UPLOAD_TOKEN)' -H 'Content-Type: a pplication/x-sharedlib' \ -H 'Authorization: token $(NNN_SIG_UPLOAD_TOKEN)' -H 'Content-Type: a pplication/x-sharedlib' \
--upload-file $(BIN)-nerd-static-$(VERSION).x86_64.tar.gz --upload-file $(BIN)-nerd-static-$(VERSION).x86_64.tar.gz
# upload musl static binary # upload musl static binary
tar -zcf $(BIN)-musl-static-$(VERSION).x86_64.tar.gz $(BIN)-musl-static tar -zcf $(BIN)-musl-static-$(VERSION).x86_64.tar.gz $(BIN)-musl-static
curl -XPOST 'https://uploads.github.com/repos/jarun/nnn/releases/$(ID)/as sets?name=$(BIN)-musl-static-$(VERSION).x86_64.tar.gz' \ curl -XPOST 'https://uploads.github.com/repos/jarun/nnn/releases/$(ID)/as sets?name=$(BIN)-musl-static-$(VERSION).x86_64.tar.gz' \
-H 'Authorization: token $(NNN_SIG_UPLOAD_TOKEN)' -H 'Content-Type: a pplication/x-sharedlib' \ -H 'Authorization: token $(NNN_SIG_UPLOAD_TOKEN)' -H 'Content-Type: a pplication/x-sharedlib' \
--upload-file $(BIN)-musl-static-$(VERSION).x86_64.tar.gz --upload-file $(BIN)-musl-static-$(VERSION).x86_64.tar.gz
clean: clean:
$(RM) -f $(BIN) nnn-$(VERSION).tar.gz *.sig $(BIN)-static $(BIN)-static-$ (VERSION).x86_64.tar.gz $(BIN)-icons-static $(BIN)-icons-static-$(VERSION).x86_6 4.tar.gz $(BIN)-nerd-static $(BIN)-nerd-static-$(VERSION).x86_64.tar.gz $(RM) -f $(BIN) nnn-$(VERSION).tar.gz *.sig $(BIN)-static $(BIN)-static-$ (VERSION).x86_64.tar.gz $(BIN)-icons-static $(BIN)-icons-static-$(VERSION).x86_6 4.tar.gz $(BIN)-nerd-static $(BIN)-nerd-static-$(VERSION).x86_64.tar.gz $(BIN)-m usl-static $(BIN)-musl-static-$(VERSION).x86_64.tar.gz
prepatch: prepatch:
ifeq ($(strip $(O_NAMEFIRST)),1) ifeq ($(strip $(O_NAMEFIRST)),1)
patch --forward --strip=1 --input=$(NAMEFIRST)/mainline.diff patch --forward --strip=1 --input=$(NAMEFIRST)/mainline.diff
ifeq ($(strip $(O_GITSTATUS)),1) ifeq ($(strip $(O_GITSTATUS)),1)
patch --forward --strip=1 --input=$(GITSTATUS)/namefirst.diff patch --forward --strip=1 --input=$(GITSTATUS)/namefirst.diff
endif endif
else ifeq ($(strip $(O_GITSTATUS)),1) else ifeq ($(strip $(O_GITSTATUS)),1)
patch --forward --strip=1 --input=$(GITSTATUS)/mainline.diff patch --forward --strip=1 --input=$(GITSTATUS)/mainline.diff
endif endif
 End of changes. 3 change blocks. 
6 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)