From 91d0c3827af9597e856f109e89fcbd0dea39c47e Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 1 Sep 2010 17:20:25 +0200 Subject: [PATCH] Distribution archive now is named "NagCollect-R.tar.gz" The current release number is extracted from the ChangeLog file. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index aad396b..bced534 100644 --- a/Makefile +++ b/Makefile @@ -56,9 +56,10 @@ install-client: check: dist: distclean - dir=`basename $${PWD}` \ + rel=`grep "^NagCollect " ChangeLog|awk "{print \\\$$3 }"|head -n 1`; \ + dir=`basename $${PWD}` \ && cd .. \ - && COPYFILE_DISABLE=true tar cvzf "$${dir}.tar.gz" \ + && COPYFILE_DISABLE=true tar cvzf "NagCollect-R$${rel}.tar.gz" \ --exclude .git "$${dir}" distcheck: check dist -- 2.39.2