diff options
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 2169e904..262302e1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -482,11 +482,11 @@ sloc: STAGING = /tmp/ledger copy-sources: - -mkdir $(STAGING) - sudo rsync -av --delete --exclude=/.libs/ --exclude=/.deps/ \ + -mkdir -p $(STAGING) + rsync -av --delete --exclude=/.libs/ --exclude=/.deps/ \ --exclude=/plan/ --exclude=/2.6*/ --exclude=/archive/ \ $(srcdir)/ $(STAGING)/ - (cd $(STAGING); sudo git clean -x -d -f) + (cd $(STAGING); git clean -x -d -f) release: copy-sources (cd $(STAGING); \ |