Commit 49187702 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Fix Makefile

Splitting the program in multiple files broke the Makefile, oops.
parent 1c34f8a8
PREFIX=/usr/local
VERSION=$(shell git describe)-$(shell date -u +%Y%m%d.%H%M%S)
gitlab-git-http-server: main.go
go build -ldflags "-X main.Version ${VERSION}" -o gitlab-git-http-server main.go
gitlab-git-http-server: main.go githandler.go
go build -ldflags "-X main.Version ${VERSION}" -o gitlab-git-http-server
install: gitlab-git-http-server
install gitlab-git-http-server ${PREFIX}/bin/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment