From a7f135a441eac3eb8afa836eec0132b53645af70 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Mon, 17 Mar 2014 15:55:21 +0400 Subject: [PATCH] .deb package building instructions. --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 532dad29..0e239d6e 100644 --- a/Makefile +++ b/Makefile @@ -61,4 +61,15 @@ mem.png: mem.dat mem.gp gnuplot mem.gp 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 " \ + -f -m "Andrey Smirnov " --description="Debian repository management tool" -C root/ . + mv aptly_$(VERSION)_*.deb ~ + .PHONY: coverage.out \ No newline at end of file