1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-16 04:44:55 +02:00

Makefile: make "scripts/info" rule a phony one. so that it's always generated.

This commit is contained in:
Henrik Hautakoski 2020-06-24 14:45:05 +02:00
parent aaf0b35b93
commit 5d5d7bb5be

View file

@ -20,14 +20,14 @@ build/$(PROGRAM_NAME) : $(SOURCES)
deps:
$(GO) get $(DEPENDANCIES)
scripts/info :
info-file :
echo PACKAGE_NAME=\"$(PROGRAM_NAME)\" "\n"\
PACKAGE_DESCRIPTION=\"HAproxy healthcheck program for EOSIO API.\" "\n"\
PACKAGE_VERSION=\"0.3.3\" "\n"\
PACKAGE_PREFIX=\"$(PREFIX:/%=%)\" "\n"\
PACKAGE_PROGRAM=\"build/$(PROGRAM_NAME)\" > $@
PACKAGE_PROGRAM=\"build/$(PROGRAM_NAME)\" > scripts/info
package : scripts/info build
package : info-file build
package_deb: package
./scripts/build.sh deb