Skip to content

Commit f0e2252

Browse files
committed
Build .deb file to ..
Looks like it's necessary for the PPA build to work.
1 parent f739ad7 commit f0e2252

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PREFIX = /usr/local
33
BIN = $(DESTDIR)/$(PREFIX)/bin
44
MAN = $(DESTDIR)/$(PREFIX)/share/man
55

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

7273
.PHONY: deb-src

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
sslfie (0.2-1) trusty; urgency=low
2+
3+
* Tweak .deb build for PPA
4+
5+
-- Michael Kropat <mail@michael.kropat.name> Fri, 03 Jul 2015 23:03:24 +0000
6+
17
sslfie (0.1-1) trusty; urgency=low
28

39
* Initial release

debian/rules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,5 @@
99
override_dh_auto_install:
1010
dh_auto_install -- PREFIX=/usr
1111

12-
override_dh_builddeb:
13-
dh_builddeb --destdir=.
14-
1512
override_dh_auto_clean:
1613
make clean

sslfie.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ mkdir -p %{buildroot}%{_unitdir}
3535
%{_mandir}/man1/*
3636

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

0 commit comments

Comments
 (0)