diff --git a/Makefile b/Makefile index d65abbe..9a0e6ea 100644 --- a/Makefile +++ b/Makefile @@ -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