summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2a3461ae75efe8ec7749d1353973efa7ce352d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SUBDIRS =
DESTDIR = 
UBINDIR ?= /usr/bin
ULIBDIR ?= /usr/lib/vasile

all:
	for d in $(SUBDIRS); do $(MAKE) -C $$d; done

clean:
	for d in $(SUBDIRS); do $(MAKE) -C $$d clean; done

install:
	for d in $(SUBDIRS); do $(MAKE) -C $$d install; done

	install -d $(DESTDIR)$(UBINDIR)
	install -m 0755 src/frontend/cli/vasile.sh $(DESTDIR)$(UBINDIR)/
	install -d $(DESTDIR)$(ULIBDIR)
	install -m 0644 src/backend/*sh $(DESTDIR)$(ULIBDIR)/

uninstall:
	rm -rf $(DESTDIR)$(UBINDIR)/vasile.sh
	rm -rf $(DESTDIR)$(ULIBDIR)