onyl one head

This commit is contained in:
geos_one 2025-08-10 03:15:48 +02:00
parent e67d94a084
commit 775babebbf

9
debian/rules vendored
View File

@ -2,8 +2,13 @@
# this is so awful
PAREN = )
BEEGFS_VERSION = $(shell head -n1 debian/changelog | awk -F'[()]' '{print $2}')
BEEGFS_MAJOR = $(shell head -n1 debian/changelog | awk -F'[()]' '{split($2,a,"."); print a[1]}')
# Read the first line of debian/changelog just once
CHANGELOG_LINE := $(shell head -n1 debian/changelog)
# Extract versions
BEEGFS_VERSION := $(shell echo "$(CHANGELOG_LINE)" | awk -F'[()]' '{print $$2}')
BEEGFS_MAJOR := $(shell echo "$(CHANGELOG_LINE)" | awk -F'[()]' '{split($$2,a,"."); print a[1]}')
BEEGFS_NVFS=1
DPKG_EXPORT_BUILDFLAGS = 1