Skip to content

Commit 743d0ee

Browse files
committed
Update make file for OS X compatibility and update for folder rename
1 parent 44c963b commit 743d0ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ SHELL = /bin/sh
2424

2525
ROOT_PATH := .
2626

27-
PACKAGE_NAME := $(basename $(notdir $(CURDIR)))
27+
PACKAGE_NAME := CMSIS-Atmel
2828
PACKAGE_VERSION := 1.0.0
2929

3030
# -----------------------------------------------------------------------------
3131
# packaging specific
32-
PACKAGE_FOLDER := module
32+
PACKAGE_FOLDER := CMSIS-Atmel
3333

3434
ifeq (postpackaging,$(findstring $(MAKECMDGOALS),postpackaging))
3535
PACKAGE_FILENAME=$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.bz2
@@ -48,7 +48,7 @@ endif
4848
all: clean print_info
4949
@echo ----------------------------------------------------------
5050
@echo "Packaging module."
51-
tar --transform "s|module|$(PACKAGE_NAME)-$(PACKAGE_VERSION)|g" --exclude=.gitattributes --exclude=.travis.yml --exclude-vcs -cjf "$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.bz2" "$(PACKAGE_FOLDER)"
51+
tar --exclude=.gitattributes --exclude=.travis.yml --exclude=.git -cjf "$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.bz2" "$(PACKAGE_FOLDER)"
5252
$(MAKE) --no-builtin-rules postpackaging -C .
5353
@echo ----------------------------------------------------------
5454

0 commit comments

Comments
 (0)