Remove things that mess up debian files
@@ -12,7 +12,6 @@ CLIENT = oidc-token
KEYCHAIN = oidc-keychain
PROMPT = oidc-prompt
-DEBIAN_RELEASE = 1
VERSION ?= $(shell cat VERSION)
# DIST = $(lsb_release -cs)
LIBMAJORVERSION ?= $(shell echo $(VERSION) | cut -d '.' -f 1)
@@ -676,10 +675,6 @@ remove: cleanobj cleanapi cleanpackage cleantest distclean
# Packaging
-.PHONY: update_dch_version
-update_dch_version: VERSION debian/changelog
- @perl -0777 -pi -e 's/(\().*?(\))/`echo -n "("; echo -n $(VERSION)-$(DEBIAN_RELEASE); echo -n ")"`/e' debian/changelog
-
.PHONY: preparedeb
preparedeb: clean
@quilt pop -a || true
@@ -690,7 +685,7 @@ debsource: preparedeb
dpkg-source -b .
.PHONY: deb
-deb: cleanapi create_obj_dir_structure update_dch_version preparedeb
+deb: cleanapi create_obj_dir_structure preparedeb
debuild -i -b -uc -us
@echo "Success: DEBs are in parent directory"
