Fixed the rsync command in release-distcheck, in case building in a separate
directory from the sources.
This commit is contained in:
parent
43750bfc5d
commit
60838879ce
1 changed files with 9 additions and 14 deletions
23
Makefile.am
23
Makefile.am
|
|
@ -515,24 +515,19 @@ report: all
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
|
STAGING = /tmp/ledger
|
||||||
|
|
||||||
copy-sources:
|
copy-sources:
|
||||||
-mkdir /tmp/ledger
|
-mkdir $(STAGING)
|
||||||
sudo rsync -av --delete \
|
sudo rsync -av --delete --exclude=/.libs/ --exclude=/.deps/ \
|
||||||
--exclude='/lib/boost/' \
|
--exclude=/plan/ --exclude=/2.6*/ --exclude=/archive/ \
|
||||||
--exclude='/lib/icu/' \
|
$(srcdir)/ $(STAGING)/
|
||||||
--exclude='/lib/irrlicht/' \
|
(cd $(STAGING); sudo git clean -x -d -f)
|
||||||
--exclude=/.libs/ \
|
|
||||||
--exclude=/.deps/ \
|
|
||||||
--exclude=/archive/ \
|
|
||||||
--exclude=/plan/ \
|
|
||||||
--exclude=/2.6*/ \
|
|
||||||
./ /tmp/ledger/
|
|
||||||
(cd /tmp/ledger; sudo git clean -x -d -f)
|
|
||||||
|
|
||||||
release: copy-sources
|
release: copy-sources
|
||||||
(cd /tmp/ledger; ./acprep --release --build -j3)
|
(cd $(STAGING); ./acprep --release --build -j3)
|
||||||
|
|
||||||
release-distcheck: copy-sources
|
release-distcheck: copy-sources
|
||||||
(cd /tmp/ledger; ./acprep --release --build -j3 distcheck)
|
(cd $(STAGING); ./acprep --release --build -j3 distcheck)
|
||||||
|
|
||||||
# Makefile.am ends here
|
# Makefile.am ends here
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue