7 eval `gpg-agent --daemon`
8 # make sure $YYYYMMDD is set
9 echo $(YYYYMMDD) | grep 20
10 cp parallel-$(YYYYMMDD).tar.bz2 parallel-latest.tar.bz2
11 cp doc/parallel.directive parallel-$(YYYYMMDD).tar.bz2.directive
12 perl -i -pe "s/20\d\d\d\d\d\d/$(YYYYMMDD)/" parallel-*.tar.*directive
13 gpg --clearsign --yes parallel-$(YYYYMMDD).tar.bz2.directive
15 cp doc/parallel.latest.directive parallel-latest.tar.bz2.directive
16 perl -i -pe "s/20\d\d\d\d\d\d/$(YYYYMMDD)/" parallel-latest.tar.*directive
17 gpg --clearsign --yes parallel-latest.tar.bz2.directive
19 (echo '#!/bin/bash'; \
21 echo "# To check the signature run:"; \
22 echo "# echo | gpg"; \
23 echo "# gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-$(YYYYMMDD).tar.bz2.sig"; \
25 echo "echo | gpg 2>/dev/null"; \
26 echo 'gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve $$0'; \
29 gpg -ab -o - parallel-$(YYYYMMDD).tar.bz2; \
30 ) > parallel-$(YYYYMMDD).tar.bz2.sig
32 (echo '#!/bin/bash'; \
34 echo "# To check the signature run:"; \
35 echo "# echo | gpg"; \
36 echo "# gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-latest.tar.bz2.sig"; \
38 echo "echo | gpg 2>/dev/null"; \
39 echo 'gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve $$0'; \
42 gpg -ab -o - parallel-$(YYYYMMDD).tar.bz2; \
43 ) > parallel-latest.tar.bz2.sig
45 gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-latest.tar.bz2.sig
46 gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-$(YYYYMMDD).tar.bz2.sig
48 ../ftpsync/src/ftpsync parallel-$(YYYYMMDD).tar.bz2{,.sig,*asc} ftp://ftp-upload.gnu.org/incoming/ftp/
49 ../ftpsync/src/ftpsync parallel-latest.tar.bz2{,.sig,*asc} ftp://ftp-upload.gnu.org/incoming/ftp/
51 # This can take 7 minutes
53 rm -rf /tmp/parallel-$(YYYYMMDD)*; \
54 while ! wget https://ftp.gnu.org/gnu/parallel/parallel-$(YYYYMMDD).tar.bz2 ; do sleep 2; done; \
55 tar xjvf parallel-$(YYYYMMDD).tar.bz2; \
56 cd parallel-$(YYYYMMDD); \
58 make -j && sudo make -j install; \
60 sudo cp /usr/local/bin/parallel /usr/local/bin/parallel-$(YYYYMMDD)
64 eval `gpg-agent --daemon`
65 # make sure $YYYYMMDD is set
66 echo $(YYYYMMDD) | grep 20
67 cp parallel-$(YYYYMMDD).tar.bz2 parallel-latest.tar.bz2
68 cp doc/parallel.directive parallel-$(YYYYMMDD).tar.bz2.directive
69 perl -i -pe "s/20\d\d\d\d\d\d/$(YYYYMMDD)/" parallel-*.tar.*directive
70 gpg --clearsign --yes parallel-$(YYYYMMDD).tar.bz2.directive
72 cp doc/parallel.latest.directive parallel-latest.tar.bz2.directive
73 perl -i -pe "s/20\d\d\d\d\d\d/$(YYYYMMDD)/" parallel-latest.tar.*directive
74 gpg --clearsign --yes parallel-latest.tar.bz2.directive
76 (echo '#!/bin/bash'; \
78 echo "# To check the signature run:"; \
79 echo "# echo | gpg"; \
80 echo "# gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-$(YYYYMMDD).tar.bz2.sig"; \
82 echo "echo | gpg 2>/dev/null"; \
83 echo 'gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve $$0'; \
86 gpg -ab -o - parallel-$(YYYYMMDD).tar.bz2; \
87 ) > parallel-$(YYYYMMDD).tar.bz2.sig
89 (echo '#!/bin/bash'; \
91 echo "# To check the signature run:"; \
92 echo "# echo | gpg"; \
93 echo "# gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-latest.tar.bz2.sig"; \
95 echo "echo | gpg 2>/dev/null"; \
96 echo 'gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve $$0'; \
99 gpg -ab -o - parallel-$(YYYYMMDD).tar.bz2; \
100 ) > parallel-latest.tar.bz2.sig
102 gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-latest.tar.bz2.sig
103 gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-$(YYYYMMDD).tar.bz2.sig
105 ../ftpsync/src/ftpsync parallel-$(YYYYMMDD).tar.bz2{,.sig,*asc} ftp://ftp-upload.gnu.org/incoming/alpha/
107 # This can take 7 minutes
109 rm -rf /tmp/parallel-$(YYYYMMDD)*; \
110 while ! wget http://alpha.gnu.org/gnu/parallel/parallel-$(YYYYMMDD).tar.bz2 ; do sleep 2; done; \
111 tar xjvf parallel-$(YYYYMMDD).tar.bz2; \
112 cd parallel-$(YYYYMMDD); \
114 make -j && sudo make -j install; \
116 sudo cp /usr/local/bin/parallel /usr/local/bin/parallel-$(YYYYMMDD)
119 # If man page changed: open new pdfman
120 inotifywait -qmre MOVED_TO -e CLOSE_WRITE --format %w%f . | parallel -uj1 'echo {=/\.pod$$/ or skip()=};make -j && sudo make install; pdfman {/.} &'
124 cd urls && grep -v '(dead)' ../src/* | grep -h -Po 'https?://[^ $$<>")}]+' | perl -pe 's/(>|\{).*//;s/\\-/-/g;s/\\n//g;s/&/&/g;s/&#.*//;'"s/'.*//" | sort -u | egrep -v 'example.com|##|\*\(' | parallel -j0 --timeout 33 --bar --tag --retries 3 neno wget -m -l1 -Q1 '{=$$_=Q($$_)=}'
126 EXTRA_DIST = CITATION CREDITS cc-by-sa.txt fdl.txt