mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-27 10:53:42 +02:00
Makefile: move "thalos" subdirectory into CFGDIR instead of hardcoded after CFGDIR
This commit is contained in:
parent
09c5fcc86b
commit
00ea1a5bfd
2 changed files with 3 additions and 3 deletions
4
Makefile
4
Makefile
|
|
@ -5,7 +5,7 @@ PROGRAM=thalos-server
|
||||||
PROGRAM_VERSION=0.1.0
|
PROGRAM_VERSION=0.1.0
|
||||||
PREFIX=/usr/local
|
PREFIX=/usr/local
|
||||||
BINDIR=$(PREFIX)/bin
|
BINDIR=$(PREFIX)/bin
|
||||||
CFGDIR=$(PREFIX)/etc
|
CFGDIR=$(PREFIX)/etc/thalos
|
||||||
|
|
||||||
.PHONY: build build/$(PROGRAM) test
|
.PHONY: build build/$(PROGRAM) test
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@ build/$(PROGRAM) :
|
||||||
|
|
||||||
install: build
|
install: build
|
||||||
install -D build/$(PROGRAM) $(DESTDIR)$(BINDIR)/$(PROGRAM)
|
install -D build/$(PROGRAM) $(DESTDIR)$(BINDIR)/$(PROGRAM)
|
||||||
install -m 644 -D config.example.yml $(DESTDIR)$(CFGDIR)/thalos/config.yml
|
install -m 644 -D config.example.yml $(DESTDIR)$(CFGDIR)/config.yml
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(GO) test -v ./...
|
$(GO) test -v ./...
|
||||||
|
|
|
||||||
2
debian/rules
vendored
2
debian/rules
vendored
|
|
@ -9,4 +9,4 @@ override_dh_auto_build:
|
||||||
dh_auto_build -- GOOS=linux
|
dh_auto_build -- GOOS=linux
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install -- PREFIX=/usr CFGDIR=/etc
|
dh_auto_install -- PREFIX=/usr CFGDIR=/etc/thalos
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue