restore the original install-data-hook in case of debug builds
Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I45dc86b7473babba723a873e4a21c8021797fb07
This commit is contained in:
parent
af8ba81943
commit
41fce2572b
1 changed files with 6 additions and 0 deletions
|
@ -689,6 +689,11 @@ $(DIST_FOLDER)/admin/%: $(srcdir)/admin/%
|
|||
@mkdir -p $(dir $@)
|
||||
@cp $< $@
|
||||
|
||||
if ENABLE_DEBUG
|
||||
install-data-hook:
|
||||
mkdir -p $(DESTDIR)$(pkgdatadir)/browser; \
|
||||
cp -a dist/ $(DESTDIR)$(pkgdatadir)/browser/;
|
||||
else
|
||||
install-data-hook:
|
||||
mkdir -p $(DESTDIR)$(pkgdatadir)/browser; \
|
||||
rsync -a --exclude='src' \
|
||||
|
@ -699,6 +704,7 @@ install-data-hook:
|
|||
--exclude='multidocs.html' \
|
||||
--exclude='tsconfig.tsbuildinfo' \
|
||||
dist $(DESTDIR)$(pkgdatadir)/browser/;
|
||||
endif
|
||||
|
||||
libs:
|
||||
@mkdir -p $(abs_srcdir)/libs
|
||||
|
|
Loading…
Reference in a new issue