diff options
author | Stefan Bader <stefan.bader@canonical.com> | 2009-03-26 19:03:29 +0100 |
---|---|---|
committer | Stefan Bader <stefan.bader@canonical.com> | 2009-03-26 19:03:29 +0100 |
commit | 49fb1b6682cc1400900bd9fbd9b9a059b99a0b92 (patch) | |
tree | 083940f6cfe7dc9d6af3288374a95213141052cf /Makefile |
Initial git tree for ubuntu-jaunty-meta
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0a07066 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +LOG := meta-source/debian/changelog +META_VERSION := $(shell head -1 $(LOG)|sed 's/.*(\(.*\)).*/\1/') + +all: source + +source: clean + ln -s meta-source linux-ports-$(META_VERSION) + cd linux-ports-$(META_VERSION); \ + dpkg-buildpackage -S -sa -rfakeroot -I.git -I.gitignore -i'\.git.*' + +binary: clean + ln -s meta-source linux-ports-$(META_VERSION) + cd linux-ports-$(META_VERSION); \ + debuild -b + +clean: + cd meta-source && fakeroot debian/rules clean + rm -f linux-ports-$(META_VERSION) + rm -f *.dsc *.changes *.gz *.deb *.build + |