aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 40d7d9f..bee37e2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
NAME = weblogin
SRC = src/login.html src/login.py LICENSE README
VER = 1.0
-REL = 0
+REL = 3
dist: $(NAME).tar.gz $(NAME).spec
mkdir -pv ~/rpmbuild/SOURCES
@@ -19,5 +19,5 @@ $(NAME).tar.gz: $(SRC)
tar -czf $(NAME).tar.gz $(NAME)-$(VER)
rm -rf $(NAME)-$(VER)
-$(NAME).spec: $(NAME).spec.in
+$(NAME).spec: $(NAME).spec.in Makefile
sed -e 's/VERSION/$(VER)/' -e 's/RELEASE/$(REL)/' $< > $@