aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2024-11-12 18:34:24 +0100
committerLuca Deri <deri@ntop.org>2024-11-12 18:34:24 +0100
commit755bce2eb762932dd5ee49dd0c2c6ece349d96c3 (patch)
tree7a6bd2acb6f57034352f3671b1ca65bda3df2b89 /Makefile.am
parent1bda2bf414b22ce2e983e9c9a849698ccdbb1bf1 (diff)
Added "make pull"
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 728fe20ad..5ac5bf475 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -42,6 +42,10 @@ clean-coverage:
find . -type f -name "*.gcda" -exec rm "{}" +
find . -type f -name "*.gcno" -exec rm "{}" +
+pull:
+ git pull --rebase
+ if test -d ../nDPI-custom; then echo "Pulling ../nDPI-custom"; cd ../nDPI-custom; git pull --rebase; cd ../nDPI; fi
+
changelog:
git log --since={`curl -s https://github.com/ntop/ndpi/releases | grep datetime | head -n1 | egrep -o "[0-9]+\-[0-9]+\-[0-9]+"`} --name-only --pretty=format:" - %s" | grep "^ " > CHANGELOG.latest