aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 327a7f92700a5ad4c11c047fa90cf2973200420d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
LOG		:= meta-source/debian/changelog
META_VERSION	:= $(shell head -1 $(LOG)|sed 's/.*(\(.*\)).*/\1/')

all: source

source: clean
	ln -s meta-source linux-meta-$(META_VERSION)
	cd linux-meta-$(META_VERSION); \
	dpkg-buildpackage -S -sa -rfakeroot -I -i

binary: clean
	ln -s meta-source linux-meta-$(META_VERSION)
	cd linux-meta-$(META_VERSION); \
	debuild -b -aarmel

clean:
	cd meta-source && fakeroot debian/rules clean
	rm -f linux-meta-$(META_VERSION)
	rm -f *.dsc *.changes *.gz *.deb *.build *.upload