Skip to content

Commit

Permalink
Fix Makefile for tar
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry committed Apr 2, 2019
1 parent 55f772d commit 136a4a4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ dist: source appstore
source:
rm -rf $(source_build_directory)
mkdir -p $(source_build_directory)
tar cvzf $(source_package_name).tar.gz ../$(app_name) \
tar --format=gnu --owner=nobody --group=nogroup -cvzf $(source_package_name).tar.gz \
--exclude-vcs \
--exclude="../$(app_name)/build" \
--exclude="../$(app_name)/*.log"
--exclude="../$(app_name)/*.log" \
../$(app_name)

# Builds the source package for the app store, ignores php and js tests
.PHONY: appstore
Expand All @@ -76,12 +77,13 @@ appstore:
wizard.php \
$(appstore_package_name)

rm -R $(appstore_package_name)/l10n/{.tx,.gitignore}
ifdef CAN_SIGN
$(sign) --path="$(appstore_package_name)"
else
@echo $(sign_skip_msg)
endif
tar -czf $(appstore_package_name).tar.gz -C $(appstore_package_name)/../ $(app_name)
tar --format=gnu --owner=nobody --group=nogroup -czf $(appstore_package_name).tar.gz -C $(appstore_package_name)/../ $(app_name)

##---------------------
## Tests
Expand Down

0 comments on commit 136a4a4

Please sign in to comment.