2010-04-18 14:18:31 +00:00
|
|
|
SUBDIRS = src
|
2014-07-18 22:50:48 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
cd testsuite; make 1
|
2014-07-26 11:17:13 +00:00
|
|
|
|
2015-01-21 21:24:23 +00:00
|
|
|
upload:
|
|
|
|
eval `gpg-agent --daemon`
|
|
|
|
# make sure $YYYYMMDD is set
|
|
|
|
echo $(YYYYMMDD) | grep 20
|
|
|
|
cp parallel-$(YYYYMMDD).tar.bz2 parallel-latest.tar.bz2
|
|
|
|
cp doc/parallel.directive parallel-$(YYYYMMDD).tar.bz2.directive
|
|
|
|
perl -i -pe "s/20\d\d\d\d\d\d/$(YYYYMMDD)/" parallel-*.tar.*directive
|
|
|
|
gpg --clearsign --yes parallel-$(YYYYMMDD).tar.bz2.directive
|
|
|
|
|
|
|
|
cp doc/parallel.latest.directive parallel-latest.tar.bz2.directive
|
|
|
|
perl -i -pe "s/20\d\d\d\d\d\d/$(YYYYMMDD)/" parallel-latest.tar.*directive
|
|
|
|
gpg --clearsign --yes parallel-latest.tar.bz2.directive
|
|
|
|
|
|
|
|
(echo '#!/bin/bash'; \
|
|
|
|
echo; \
|
|
|
|
echo "# To check the signature run:"; \
|
2019-11-23 21:14:03 +00:00
|
|
|
echo "# echo | gpg"; \
|
|
|
|
echo "# gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-$(YYYYMMDD).tar.bz2.sig"; \
|
2015-01-21 21:24:23 +00:00
|
|
|
echo; \
|
|
|
|
echo "echo | gpg 2>/dev/null"; \
|
|
|
|
echo 'gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve $$0'; \
|
|
|
|
echo 'exit $$?' ; \
|
|
|
|
echo; \
|
|
|
|
gpg -ab -o - parallel-$(YYYYMMDD).tar.bz2; \
|
|
|
|
) > parallel-$(YYYYMMDD).tar.bz2.sig
|
|
|
|
|
|
|
|
(echo '#!/bin/bash'; \
|
|
|
|
echo; \
|
|
|
|
echo "# To check the signature run:"; \
|
2019-11-23 21:14:03 +00:00
|
|
|
echo "# echo | gpg"; \
|
|
|
|
echo "# gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-latest.tar.bz2.sig"; \
|
2015-01-21 21:24:23 +00:00
|
|
|
echo; \
|
|
|
|
echo "echo | gpg 2>/dev/null"; \
|
|
|
|
echo 'gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve $$0'; \
|
|
|
|
echo 'exit $$?' ; \
|
|
|
|
echo; \
|
|
|
|
gpg -ab -o - parallel-$(YYYYMMDD).tar.bz2; \
|
|
|
|
) > parallel-latest.tar.bz2.sig
|
|
|
|
|
|
|
|
gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-latest.tar.bz2.sig
|
|
|
|
gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-$(YYYYMMDD).tar.bz2.sig
|
|
|
|
|
|
|
|
../ftpsync/src/ftpsync parallel-$(YYYYMMDD).tar.bz2{,.sig,*asc} ftp://ftp-upload.gnu.org/incoming/ftp/
|
|
|
|
../ftpsync/src/ftpsync parallel-latest.tar.bz2{,.sig,*asc} ftp://ftp-upload.gnu.org/incoming/ftp/
|
|
|
|
|
|
|
|
# This can take 7 minutes
|
|
|
|
pushd /tmp; \
|
|
|
|
rm -rf /tmp/parallel-$(YYYYMMDD)*; \
|
2017-08-21 22:12:32 +00:00
|
|
|
while ! wget https://ftp.gnu.org/gnu/parallel/parallel-$(YYYYMMDD).tar.bz2 ; do sleep 2; done; \
|
2015-01-21 21:24:23 +00:00
|
|
|
tar xjvf parallel-$(YYYYMMDD).tar.bz2; \
|
|
|
|
cd parallel-$(YYYYMMDD); \
|
|
|
|
./configure; \
|
|
|
|
make -j && sudo make -j install; \
|
|
|
|
pushd; \
|
|
|
|
sudo cp /usr/local/bin/parallel /usr/local/bin/parallel-$(YYYYMMDD)
|
|
|
|
|
2017-02-07 23:54:45 +00:00
|
|
|
alphaupload:
|
|
|
|
# Copy of upload
|
|
|
|
eval `gpg-agent --daemon`
|
|
|
|
# make sure $YYYYMMDD is set
|
|
|
|
echo $(YYYYMMDD) | grep 20
|
|
|
|
cp parallel-$(YYYYMMDD).tar.bz2 parallel-latest.tar.bz2
|
|
|
|
cp doc/parallel.directive parallel-$(YYYYMMDD).tar.bz2.directive
|
|
|
|
perl -i -pe "s/20\d\d\d\d\d\d/$(YYYYMMDD)/" parallel-*.tar.*directive
|
|
|
|
gpg --clearsign --yes parallel-$(YYYYMMDD).tar.bz2.directive
|
|
|
|
|
|
|
|
cp doc/parallel.latest.directive parallel-latest.tar.bz2.directive
|
|
|
|
perl -i -pe "s/20\d\d\d\d\d\d/$(YYYYMMDD)/" parallel-latest.tar.*directive
|
|
|
|
gpg --clearsign --yes parallel-latest.tar.bz2.directive
|
|
|
|
|
|
|
|
(echo '#!/bin/bash'; \
|
|
|
|
echo; \
|
|
|
|
echo "# To check the signature run:"; \
|
|
|
|
echo "# echo | gpg"; \
|
|
|
|
echo "# gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-$(YYYYMMDD).tar.bz2.sig"; \
|
|
|
|
echo; \
|
|
|
|
echo "echo | gpg 2>/dev/null"; \
|
|
|
|
echo 'gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve $$0'; \
|
|
|
|
echo 'exit $$?' ; \
|
|
|
|
echo; \
|
|
|
|
gpg -ab -o - parallel-$(YYYYMMDD).tar.bz2; \
|
|
|
|
) > parallel-$(YYYYMMDD).tar.bz2.sig
|
|
|
|
|
|
|
|
(echo '#!/bin/bash'; \
|
|
|
|
echo; \
|
|
|
|
echo "# To check the signature run:"; \
|
|
|
|
echo "# echo | gpg"; \
|
|
|
|
echo "# gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-latest.tar.bz2.sig"; \
|
|
|
|
echo; \
|
|
|
|
echo "echo | gpg 2>/dev/null"; \
|
|
|
|
echo 'gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve $$0'; \
|
|
|
|
echo 'exit $$?' ; \
|
|
|
|
echo; \
|
|
|
|
gpg -ab -o - parallel-$(YYYYMMDD).tar.bz2; \
|
|
|
|
) > parallel-latest.tar.bz2.sig
|
|
|
|
|
|
|
|
gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-latest.tar.bz2.sig
|
|
|
|
gpg --auto-key-locate keyserver --keyserver-options auto-key-retrieve parallel-$(YYYYMMDD).tar.bz2.sig
|
|
|
|
|
|
|
|
../ftpsync/src/ftpsync parallel-$(YYYYMMDD).tar.bz2{,.sig,*asc} ftp://ftp-upload.gnu.org/incoming/alpha/
|
|
|
|
|
|
|
|
# This can take 7 minutes
|
|
|
|
pushd /tmp; \
|
|
|
|
rm -rf /tmp/parallel-$(YYYYMMDD)*; \
|
|
|
|
while ! wget http://alpha.gnu.org/gnu/parallel/parallel-$(YYYYMMDD).tar.bz2 ; do sleep 2; done; \
|
|
|
|
tar xjvf parallel-$(YYYYMMDD).tar.bz2; \
|
|
|
|
cd parallel-$(YYYYMMDD); \
|
|
|
|
./configure; \
|
|
|
|
make -j && sudo make -j install; \
|
|
|
|
pushd; \
|
|
|
|
sudo cp /usr/local/bin/parallel /usr/local/bin/parallel-$(YYYYMMDD)
|
|
|
|
|
2017-04-04 21:17:29 +00:00
|
|
|
monitorman:
|
|
|
|
# If man page changed: open new pdfman
|
|
|
|
inotifywait -qmre MOVED_TO -e CLOSE_WRITE --format %w%f . | parallel -uj1 'echo {=/\.pod$$/ or skip()=};make -j && sudo make install; pdfman {/.} &'
|
|
|
|
|
2018-07-22 06:58:32 +00:00
|
|
|
testurls:
|
2018-10-22 22:46:38 +00:00
|
|
|
mkdir -p urls
|
2019-01-25 05:16:35 +00:00
|
|
|
cd urls && grep -v '(dead)' ../src/* | grep -h -Po 'https?://[^ $$<>")}]+' | perl -pe 's/(>|\{).*//;s/\\-/-/g;s/\\n//g;s/&/&/g;s/&#.*//;'"s/'.*//" | grep -Ev 'parallel-(20)?$$|coolwebsite.biz' | sort -u | egrep -v 'example.com|##|\*\(' | parallel -j0 --timeout 33 --bar --tag --joblog joblog --retries 3 neno wget -m -l1 -Q1 '{=$$_=Q($$_)=}'
|
2018-07-22 06:58:32 +00:00
|
|
|
|
2020-05-31 14:42:04 +00:00
|
|
|
reconf:
|
|
|
|
rm -fr autom4te.cache aclocal.m4 config.h config.h.in config.log Makefile.in missing install-sh
|
|
|
|
rm -rf src/Makefile.in
|
|
|
|
autoreconf --install -W gnu
|
|
|
|
./configure
|
|
|
|
make -j
|
|
|
|
sudo make install
|
|
|
|
|
|
|
|
pack_unpack_and_test_build:
|
|
|
|
echo '### Building tar.bz2'
|
|
|
|
./configure
|
|
|
|
make dist
|
|
|
|
make dist-bzip2
|
|
|
|
echo "### Unpack parallel-$(YYYYMMDD).tar.bz2"
|
|
|
|
cp parallel-$(YYYYMMDD).tar.bz2 /tmp
|
|
|
|
cd /tmp && \
|
|
|
|
tar xjf parallel-$(YYYYMMDD).tar.bz2 && \
|
|
|
|
cd parallel-$(YYYYMMDD) && \
|
|
|
|
./configure && make -j && sudo make -j install
|
|
|
|
|
|
|
|
|
2017-08-12 16:37:52 +00:00
|
|
|
EXTRA_DIST = CITATION CREDITS cc-by-sa.txt fdl.txt
|