Skip to content

Commit

Permalink
Add suffix for selecting yml while packaging (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrodnm authored and Corbin Phelps committed Feb 5, 2019
1 parent b8c4246 commit edcb45c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile-package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ prep-pkg-env:
@echo "=== Main === [ prep-pkg-env ]: adding built binaries and configuration and definition files..."
@cp $(BINS_DIR)/$(BINARY_NAME) $(SOURCE_DIR)/var/db/newrelic-infra/newrelic-integrations/bin
@chmod 755 $(SOURCE_DIR)/var/db/newrelic-infra/newrelic-integrations/bin/*
@cp ./*.yml $(SOURCE_DIR)/var/db/newrelic-infra/newrelic-integrations/
@chmod 644 $(SOURCE_DIR)/var/db/newrelic-infra/newrelic-integrations/*.yml
@cp ./*.sample $(SOURCE_DIR)/etc/newrelic-infra/integrations.d/
@chmod 644 $(SOURCE_DIR)/etc/newrelic-infra/integrations.d/*.sample
@cp ./*-definition.yml $(SOURCE_DIR)/var/db/newrelic-infra/newrelic-integrations/
@chmod 644 $(SOURCE_DIR)/var/db/newrelic-infra/newrelic-integrations/*-definition.yml
@cp ./*-config.yml.sample $(SOURCE_DIR)/etc/newrelic-infra/integrations.d/
@chmod 644 $(SOURCE_DIR)/etc/newrelic-infra/integrations.d/*-config.yml.sample

deb: prep-pkg-env
@echo "=== Main === [ deb ]: building DEB package..."
Expand Down

0 comments on commit edcb45c

Please sign in to comment.