Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/news.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-03-25 22:24:02 +0300
committerBernhard Posselt <dev@bernhard-posselt.com>2016-03-25 22:24:02 +0300
commit287edcc1901d1a13684801a23d61b33ae352be9f (patch)
tree6229d9c8b87c735d7a32e60a7a7ea529be2f5d84
parent99541fd61536ca6ed5e2a9d0097c0210801e9c8f (diff)
for building the archive, only clean the archive directory
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 896702a9d..511fa0962 100644
--- a/Makefile
+++ b/Makefile
@@ -106,9 +106,9 @@ distclean: clean
# Builds the source package
.PHONY: dist
dist:
- make clean
make build
make test
+ rm -rf $(source_build_directory)
mkdir -p $(source_build_directory)
tar cvzf $(source_package_name).tar.gz ../$(app_name) \
--exclude-vcs \
@@ -120,9 +120,9 @@ dist:
# Builds the source package for the app store, ignores php and js tests
.PHONY: appstore
appstore:
- make clean
make build
make test
+ rm -rf $(appstore_build_directory)
mkdir -p $(appstore_build_directory)
tar cvzf $(appstore_package_name).tar.gz ../$(app_name) \
--exclude-vcs \