aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 64bce718a..8eeec045c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
PKGNAME = flat-remix
MAINTAINER = Daniel Ruiz de Alegría <daniel@drasite.com>
+UBUNTU_RELEASE = impish
PREFIX ?= /usr
THEMES ?= $(patsubst %/index.theme,%,$(wildcard ./*/index.theme))
COLOR_VARIANTS ?= Blue Green Red Yellow Black Brown Cyan Grey Magenta Orange Teal Violet
@@ -83,10 +84,13 @@ launchpad_release: _get_version
rm -rf /tmp/$(PKGNAME)
mkdir -p /tmp/$(PKGNAME)/$(PKGNAME)_$(VERSION)
cp -a * /tmp/$(PKGNAME)/$(PKGNAME)_$(VERSION)
- cd /tmp/$(PKGNAME)/$(PKGNAME)_$(VERSION) ; \
- sed "s/{}/$(VERSION)/g" -i debian/changelog ; \
- echo " -- $(MAINTAINER) $$(date -R)" >> debian/changelog ; \
- debuild -S -d ; \
+ cd /tmp/$(PKGNAME)/$(PKGNAME)_$(VERSION); \
+ echo "$(PKGNAME) ($(VERSION)) $(UBUNTU_RELEASE); urgency=low" > debian/changelog; \
+ echo >> debian/changelog; \
+ echo " * Release $(VERSION)" >> debian/changelog; \
+ echo >> debian/changelog; \
+ echo " -- $(MAINTAINER) $$(date -R)" >> debian/changelog; \
+ debuild -S -d; \
dput ppa:daniruiz/flat-remix /tmp/$(PKGNAME)/$(PKGNAME)_$(VERSION)_source.changes
generate_changelog: _get_version _get_tag