Skip to content

Commit

Permalink
Build .deb file to ..
Browse files Browse the repository at this point in the history
Looks like it's necessary for the PPA build to work.
  • Loading branch information
mkropat committed Jul 3, 2015
1 parent f739ad7 commit f0e2252
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Makefile
Expand Up @@ -3,7 +3,7 @@ PREFIX = /usr/local
BIN = $(DESTDIR)/$(PREFIX)/bin
MAN = $(DESTDIR)/$(PREFIX)/share/man

VERSION = 0.1
VERSION = 0.2
PACKAGE_DIR = sslfie-$(VERSION)
PACKAGE_FILE = sslfie_$(VERSION).tar.bz2
PACKAGE_ORIG_FILE = sslfie_$(VERSION).orig.tar.bz2
Expand Down Expand Up @@ -66,7 +66,8 @@ sslfie_$(VERSION)-1_all.deb: $(PACKAGE_FILE) debian/copyright
@hash dpkg-buildpackage 2>/dev/null || { \
echo "ERROR: can't find dpkg-buildpackage. Did you run \`sudo apt-get install debhelper devscripts\`?" >&2; exit 1; \
}
dpkg-buildpackage -b -tc -uc -us --changes-option=-u.
dpkg-buildpackage -b -tc -uc -us
mv "../$@" .
mv ../sslfie_$(VERSION)-1_*.changes .

.PHONY: deb-src
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
@@ -1,3 +1,9 @@
sslfie (0.2-1) trusty; urgency=low

* Tweak .deb build for PPA

-- Michael Kropat <mail@michael.kropat.name> Fri, 03 Jul 2015 23:03:24 +0000

sslfie (0.1-1) trusty; urgency=low

* Initial release
Expand Down
3 changes: 0 additions & 3 deletions debian/rules
Expand Up @@ -9,8 +9,5 @@
override_dh_auto_install:
dh_auto_install -- PREFIX=/usr

override_dh_builddeb:
dh_builddeb --destdir=.

override_dh_auto_clean:
make clean
2 changes: 2 additions & 0 deletions sslfie.spec
Expand Up @@ -35,5 +35,7 @@ mkdir -p %{buildroot}%{_unitdir}
%{_mandir}/man1/*

%changelog
* Fri Jul 3 2015 Michael Kropat <mail@michael.kropat.name> - 0.2-1
- Tweak .deb build for PPA
* Fri Jul 3 2015 Michael Kropat <mail@michael.kropat.name> - 0.1-1
- Initial release

0 comments on commit f0e2252

Please sign in to comment.