summaryrefslogtreecommitdiff
path: root/aux-gnurl
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-06 22:11:25 +0000
committerng0 <ng0@n0.is>2019-11-06 22:11:25 +0000
commit37cfa37237245fe0054af508e34c72af3f9c9ffc (patch)
treec2f7e87e6d73a055fe402ff4355864e8ec66edcd /aux-gnurl
parent38262bc290b6a534895d5d063e9b95a0877b21fd (diff)
downloadgnurl-37cfa37237245fe0054af508e34c72af3f9c9ffc.tar.gz
gnurl-37cfa37237245fe0054af508e34c72af3f9c9ffc.tar.bz2
gnurl-37cfa37237245fe0054af508e34c72af3f9c9ffc.zip
awk
Diffstat (limited to 'aux-gnurl')
-rw-r--r--aux-gnurl/Makefile4
-rw-r--r--aux-gnurl/gnurl1.sh32
2 files changed, 30 insertions, 6 deletions
diff --git a/aux-gnurl/Makefile b/aux-gnurl/Makefile
index 1a388b706..2d75b5018 100644
--- a/aux-gnurl/Makefile
+++ b/aux-gnurl/Makefile
@@ -6,8 +6,6 @@ makefiles:
# manfiles:
allfiles:
-.for _file in ${_ALLFILES}
- ./gnurl1 ${_file} > ${_file}.tmp ; mv ${_file}.tmp ${_file}
-.endfor
+ sh ./gnurl1.sh
.include <bsd.prog.mk>
diff --git a/aux-gnurl/gnurl1.sh b/aux-gnurl/gnurl1.sh
index d23ed191e..a9fb5bb72 100644
--- a/aux-gnurl/gnurl1.sh
+++ b/aux-gnurl/gnurl1.sh
@@ -1,5 +1,31 @@
-_ALLFILES=$(find .. ! -path '*.git/*' ! -path '*aux-gnurl/**' ! -path '*.der' ! -path '*.in' ! -path '*.Po' ! -path '*.tar*' -type f -exec grep -Il '.' {} \; | xargs -L 1 echo)
+_ALLFILES=$(find .. \
+ ! -path '*.git/*' \
+ ! -path '*aux-gnurl/**' \
+ ! -path '*.der' \
+ ! -path '*.in' \
+ ! -path '*.Po' \
+ ! -path '*.tar*' \
+ ! -path '*m4/*' \
+ ! -path '*.pax*' \
+ ! -path '*.sum*' \
+ ! -path '*.asc' \
+ ! -path '*.sig' \
+ ! -path '*build/*' \
+ ! -path '*autom4te.cache/*' \
+ ! -path '*.Plo' \
+ ! -path '*.github/*' \
+ ! -path '*.o' \
+ ! -path '*.lo' \
+ ! -path '*projects/Windows/*' \
+ ! -path '*.d' \
+ ! -path '*.key' \
+ ! -path '*.pem' \
+ ! -path '*.crl' \
+ ! -path '*.csr' \
+ ! -path '*.pub' \
+ ! -path '*.prm' \
+ ! -path '*.crt' \
+ -type f -exec grep -Il '.' {} \; | xargs -L 1 echo)
for f in ${_ALLFILES}; do
- echo ${f}
-# ./gnurl1 ${f} > ${f}.tmp ; mv ${f}.tmp ${f}
+ ./gnurl1 ${f} > ${f}.tmp ; mv ${f}.tmp ${f}
done