From 2107a1df944cadb197301db022306c750359454d Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Mon, 4 Jan 2021 18:16:41 +0100 Subject: [PATCH] make: sed VER/REL in deb control file Signed-off-by: Frantisek Hrbata --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d22eda9..b14282f 100644 --- a/Makefile +++ b/Makefile @@ -99,6 +99,7 @@ deb: make install DESTDIR=$(DEB_TOP_DIR)/build bindir="/usr/bin" mandir="/usr/share/man" $(INSTALL) -d -m 755 $(DEB_TOP_DIR)/build/DEBIAN $(INSTALL) -m 644 gimrr.control $(DEB_TOP_DIR)/build/DEBIAN/control + sed -i s'/%%VERSION%%/$(VERSION)/;s/%%RELEASE%%/$(RELEASE)/' $(DEB_TOP_DIR)/build/DEBIAN/control dpkg-deb --build $(DEB_TOP_DIR)/build $(DEB_TOP_DIR)/gimrr_$(VERSION)-$(RELEASE)_all.deb doc: man html -- 1.7.10.4