Skip to content

Commit

Permalink
Fix gnu_upload target in Makefile.aut.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed Nov 1, 2022
1 parent 9b5124d commit bdc267c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile.aut
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ tagall:
gnu_upload:
@if [ -z "${REL}" ]; then echo "Please set REL=nnn"; exit 1; fi; \
LESSREL=less-${REL} && RELDIR=release/$$LESSREL && \
TARF=$$LESSREL-release.tar.gz && \
TARF=$$LESSREL.tar.gz && \
if [ ! -s $$RELDIR/$$TARF ]; then echo "$$RELDIR/$$TARF does not exist"; exit 1; fi; \
cd $$RELDIR && \
gpg -b $$TARF && \
( echo "version: 1.2"; echo "directory: less"; echo "filename: $$TARF" ) > $$TARF.directive && \
gpg --clearsign $$TARF.directive
@echo "upload ready: cd $$RELDIR; ftp ftp-upload.gnu.org; cd /incoming/ftp; put $$TARF $$TARF.sig $$TARF.directive.asc"
gpg --clearsign $$TARF.directive && \
echo "upload ready: cd $$RELDIR; ftp ftp-upload.gnu.org; cd /incoming/ftp; put $$TARF $$TARF.sig $$TARF.directive.asc"

0 comments on commit bdc267c

Please sign in to comment.