From 73cb17eb719f9ec7109d87142fa07c9eafef8d6a Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Sun, 3 Mar 2019 11:19:05 -0600 Subject: [PATCH] Add ignores, tag with version for uploads --- words/.gitignore | 2 ++ words/Makefile | 11 +++++------ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 words/.gitignore diff --git a/words/.gitignore b/words/.gitignore new file mode 100644 index 0000000..bb54171 --- /dev/null +++ b/words/.gitignore @@ -0,0 +1,2 @@ +*.gz +*.bz2 diff --git a/words/Makefile b/words/Makefile index b03381b..2be0626 100644 --- a/words/Makefile +++ b/words/Makefile @@ -1,21 +1,20 @@ +VERSION=2.9.6 + all: clean cracklib-words.gz cracklib-words.bz2 clean: - rm -f cracklib-words cracklib-words.gz cracklib-words.bz2 + rm -f cracklib-words cracklib-words*.gz cracklib-words*.bz2 cracklib-words.gz: cracklib-words rm -f cracklib-words.gz gzip -v9 -c cracklib-words > cracklib-words.gz + cp cracklib-words.gz cracklib-words-$(VERSION).gz cracklib-words.bz2: cracklib-words rm -f cracklib-words.bz2 bzip2 -v9 -c cracklib-words > cracklib-words.bz2 + cp cracklib-words.bz2 cracklib-words-$(VERSION).bz2 cracklib-words: files/*/*.txt.bz2 rm -f cracklib-words bzcat -f `find files -type f` | tr A-Z a-z | sort | uniq > cracklib-words - -upload: cracklib-words.gz - cp cracklib-words.gz cracklib-words-`date '+%Y%m%d'`.gz - curl --upload-file cracklib-words-`date '+%Y%m%d'`.gz ftp://upload.sf.net/incoming/ - \ No newline at end of file -- 2.40.0