-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better deb package handling, actual package version
- Loading branch information
Showing
1 changed file
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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 | ||
|