OSDN Git Service

inputs.lisp: better input system for mouse
[rulp/rulp.git] / Makefile
index 4c1a2a6..df901f8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,12 @@
 CL = sbcl
 OUTPUT = rulp
-SYSTEM = $(shell uname -o)
-VERSION = 0.0.1
+
+# informations for package generation
+SYSTEM = $(shell uname -o) 
+VERSION = $(shell sed -e 's/.*:version\ "\(.*\)"/\1/' -ne '/^[0-9]/p' system.asd) 
+ARCH = $(shell uname -m) 
+
 TOOLS = tools #create the directory
-ARCH = $(shell uname -m) # to be autogenerated
 INSTALL-PATH = $(RPM_BUILD_ROOT)/usr/
 SHARE-PATH = $(RPM_BUILD_ROOT)/usr/share/rulp/
 LOCAL-PATH = ~/.local/rulp/