Makefile 1.03 KB
Newer Older
1
2
3
NAME=gnome
ID=org.gnome
VERSION=3.18
4
ARCH=x86_64
5
IMAGEDIR=freedesktop-sdk-base/images/$(ARCH)
Alexander Larsson's avatar
Alexander Larsson committed
6
BASE_HASH=8374c572d08c2026c5cd86ac8f30294fd887be09
Alexander Larsson's avatar
Alexander Larsson committed
7

8
9
10
11
EXTRA_NAME=
DELTAS=
GPG_KEY=
GPG_HOME=
12

13
14
15
16
BASE_SPECS=$(wildcard freedesktop-sdk-images/specs/*.spec)
BASE_SPECS_BASENAME=$(notdir $(BASE_SPECS))
GNOME_SPECS=$(wildcard specs/*.spec)
GNOME_SPECS_BASENAME=$(notdir $(GNOME_SPECS))
17

18
19
# ALL_SPECS is all of GNOME_SPECS and the ones from BASE_SPECS that are not overridden by GNOME_SPECS
ALL_SPECS = $(addprefix freedesktop-sdk-images/specs/,$(filter-out $(GNOME_SPECS_BASENAME),$(BASE_SPECS_BASENAME))) $(GNOME_SPECS)
20

21
all: $(NAME)-$(VERSION)-platform.tar.gz $(NAME)-$(VERSION)-sdk.tar.gz
22

23
debug: $(NAME)-$(VERSION)-debug.tar.gz
24

25
26
27
include freedesktop-sdk-images/Makefile.inc
-include rpm-dependencies.P

28
29
30
31
32
33
34
35
36
$(SDK_BASE_IMAGE) $(PLATFORM_BASE_IMAGE) images:
	if test ! -d freedesktop-sdk-base; then \
		git clone git://anongit.freedesktop.org/xdg-app/freedesktop-sdk-base;\
	fi
	(cd  freedesktop-sdk-base && \
	 git fetch origin && \
	 git checkout $(BASE_HASH) && \
	 make)