X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=9d42905ec8e487debea3a3b3dfb4f07387ca7ecb;hb=9935cba5a5cce263608115be8417619500686957;hp=7d4cbbccf5a83b2512379cec6dc095b33b1b4be2;hpb=c6cb049fa23065c0c7442f3c021c92dba43c5658;p=myslice.git diff --git a/Makefile b/Makefile index 7d4cbbcc..9d42905e 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,24 @@ -### -all: - @echo no default target +### first purpose, build and install from the specfile +all: build force: +DESTDIR := / +datadir := /usr/share +bindir := /usr/bin + +PWD := $(shell pwd) + +build: + python setup.py build + +install: + python setup.py install \ + --install-purelib=$(DESTDIR)/$(datadir)/myslice \ + --install-scripts=$(DESTDIR)/$(datadir)/myslice \ + --install-data=$(DESTDIR)/$(datadir)/myslice + + #################### compute emacs tags # list files under git but exclude third-party stuff like bootstrap and jquery myfiles: force