mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +00:00
.deb package building instructions.
This commit is contained in:
11
Makefile
11
Makefile
@@ -61,4 +61,15 @@ mem.png: mem.dat mem.gp
|
|||||||
gnuplot mem.gp
|
gnuplot mem.gp
|
||||||
open mem.png
|
open mem.png
|
||||||
|
|
||||||
|
package:
|
||||||
|
rm -rf root/
|
||||||
|
mkdir -p root/usr/bin/ root/usr/man/man1/ root/etc/bash_completion.d
|
||||||
|
cp $(BINPATH)/aptly root/usr/bin
|
||||||
|
cp man/aptly.1 root/usr/man/man1
|
||||||
|
(cd root/etc/bash_completion.d && wget https://raw.github.com/aptly-dev/aptly-bash-completion/master/aptly)
|
||||||
|
gzip root/usr/man/man1/aptly.1
|
||||||
|
fpm -s dir -t deb -n aptly -v $(VERSION) --url=http://www.aptly.info/ --license=MIT --vendor="Andrey Smirnov <me@smira.ru>" \
|
||||||
|
-f -m "Andrey Smirnov <me@smira.ru>" --description="Debian repository management tool" -C root/ .
|
||||||
|
mv aptly_$(VERSION)_*.deb ~
|
||||||
|
|
||||||
.PHONY: coverage.out
|
.PHONY: coverage.out
|
||||||
Reference in New Issue
Block a user