From 180f5faa40bdd81761c458811fc25d646268f580 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Wed, 8 Jul 2015 10:30:08 +0200 Subject: [PATCH] Fix RPM build. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3fb3014..a0ba31b 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ release_src: doc zip -r $(PROG)-$(REL_VERSION).zip $(PROG)-$(REL_VERSION) tar -vczf $(PROG)-$(REL_VERSION).tar.gz $(PROG)-$(REL_VERSION) -release_deb: doc +release_deb: release_src doc @if [ -z "$(REL_VERSION)" ]; then echo "REL_VERSION required"; exit 1; fi mkdir -p rel_deb/usr/bin @@ -77,6 +77,7 @@ release_deb: doc # Cleanup rm -rf rel_deb + rm -rf $(PROG)-$(REL_VERSION) release_rpm: release_deb alien -r scriptform-$(REL_VERSION).deb