From 79beafcbe7dceee1d540d3522ebddd149f7e58be Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Tue, 27 Nov 2018 01:00:31 +0100 Subject: debian packaging --- Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 809f21d..295747e 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,12 @@ -PREFIX=/usr/local +PACKAGE_NAME=git-repo +PACKAGE_VERSION=0.1+git-$(shell git describe --always HEAD) +PREFIX=/usr/local/bin -info: - echo 'install' +include Makefile.package + + +work/data: work work/data/$(PREFIX) +work/data/$(PREFIX): + mkdir -p "$@" + cp git-repo "$@" -install: - cp git-repo $(PREFIX)/bin - chmod 0755 $(PREFIX)/bin/git-repo - chown root:root $(PREFIX)/bin/git-repo -- cgit v1.2.1