Skip to content

Commit

Permalink
Better deb package handling, actual package version
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrownus committed Oct 7, 2014
1 parent 91d16aa commit 92d5fbd
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION=0.0.0
BUILD=0
VERSION=1.0.0
BUILD=1

prefix=/usr/local
bindir=${prefix}/bin
Expand Down Expand Up @@ -30,7 +30,17 @@ uninstall:
%.deb: bin/* lib/* share/man/man*/*.[12345678]
rm -f $@
make install DESTDIR=install prefix=/usr
fakeroot fpm -Cinstall -m'Richard Crowley <[email protected]>' -ncertified -v$(VERSION)-$(BUILD) -p$@ -sdir -tdeb usr
fakeroot fpm -a 'all' \
--description 'Generate and manage an internal CA for your company' \
--url 'https://github.com/rcrowley/certified' \
-m 'Richard Crowley <[email protected]>' \
--vendor '' \
-n certified \
--category 'misc' \
--license 'BSD-2-clause' \
-v $(VERSION)-$(BUILD) \
-d 'openssl' \
-C install -p $@ -s dir -t deb usr
rm -rf install

share/man/man1/%.1: share/man/man1/%.1.ronn
Expand Down

0 comments on commit 92d5fbd

Please sign in to comment.