diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,6 +1,9 @@ XI_BINARY=bin/xi SOURCE=src + +DESTDIR= + xi: src/xi.py mkdir -p bin cd src && zip -r xi.zip * @@ -9,10 +12,10 @@ xi: src/xi.py chmod +x ${XI_BINARY} install: clean xi xipkg.conf default.conf bin/xi - mkdir -p /etc/xipkg.d/ - cp default.conf /etc/xipkg.d/ - cp xipkg.conf /etc/xipkg.conf - cp bin/xi /usr/bin/xi + mkdir -p $(DESTDIR)/etc/xipkg.d/ + cp default.conf $(DESTDIR)/etc/xipkg.d/ + cp xipkg.conf $(DESTDIR)/etc/xipkg.conf + cp bin/xi $(DESTDIR)/usr/bin/xi clean: rm -rf bin |