diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2018-11-27 01:00:31 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2018-11-27 01:04:17 +0100 |
commit | 79beafcbe7dceee1d540d3522ebddd149f7e58be (patch) | |
tree | 28a55e9d8b34b73e242de48f7657c25da5dc5f16 /Makefile | |
parent | 17967ef2633dd5a4a9f9248f27e6163670e27347 (diff) | |
download | git-repo-79beafcbe7dceee1d540d3522ebddd149f7e58be.tar.gz git-repo-79beafcbe7dceee1d540d3522ebddd149f7e58be.zip |
debian packaging
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -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 |