summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-03-13 19:59:37 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-03-13 19:59:37 +0100
commitdcab499c69bf2fca3128f4720e112176a565a8f3 (patch)
tree7a2df724b6bbb12dd3adbacf6f40c91f5b04f8c9
parentcca09038287ae2eda1bbefd77d0d43d240d002f9 (diff)
downloadbootloader-theme-dcab499c69bf2fca3128f4720e112176a565a8f3.tar
bootloader-theme-dcab499c69bf2fca3128f4720e112176a565a8f3.tar.gz
bootloader-theme-dcab499c69bf2fca3128f4720e112176a565a8f3.tar.bz2
bootloader-theme-dcab499c69bf2fca3128f4720e112176a565a8f3.tar.xz
bootloader-theme-dcab499c69bf2fca3128f4720e112176a565a8f3.zip
Move version info to header
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a465be7..e48f311 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,8 @@
+NAME = mageia-gfxboot-theme
+UPSTREAM_VERSION = 4.5.6
+VERSION = $(UPSTREAM_VERSION).10
+
+
BINDIR := $(shell [ -x ../../gfxboot-compile ] && echo ../../ )
BASED_ON = $(shell perl -ne 'print if s/^based_on=//' config)
@@ -80,10 +85,6 @@ ifneq ($(BASED_ON),)
endif
-NAME = mageia-gfxboot-theme
-UPSTREAM_VERSION = 4.5.6
-VERSION = $(UPSTREAM_VERSION).10
-
dist:
rm -rf ../$(NAME)-$(VERSION).tar*
@git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz > $(NAME)-$(VERSION).tar.xz