X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=nagcollect.git;a=blobdiff_plain;f=Makefile;h=bced5341a8277b6e8436c674598f9e0a745cb414;hp=aad396b9058674eedba92723bf7db039a07dbcd7;hb=91d0c3827af9597e856f109e89fcbd0dea39c47e;hpb=3859d7f51790354d2dfaaa6a396544ee02609a53 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