Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: d3f1a7b8ce4edc7e3ec05ffa2de06dcffbe768aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SCRIPTS = $(CURDIR)/scripts
JHBUILD = $(CURDIR)/build/bin/jhbuild -f $(SCRIPTS)/jhbuildrc

submodules:
	git submodule init
	git submodule update

check-system:
	$(SCRIPTS)/check-system

install-jhbuild: submodules check-system
	cd $(SCRIPTS)/jhbuild ; \
	./autogen.sh --prefix=$(CURDIR)/build ; \
	make ; make install

build-activities: submodules
	$(JHBUILD) run $(SCRIPTS)/build-activity terminal

build-glucose: install-jhbuild check-system
	$(JHBUILD) build

build: build-glucose build-activities

build-%:
	$(JHBUILD) buildone $*

run:
	xinit $(SCRIPTS)/xinitrc -- :2

clean:
	rm -rf source
	rm -rf build