Skip to content

Commit

Permalink
restore the original install-data-hook in case of debug builds
Browse files Browse the repository at this point in the history
Signed-off-by: Andras Timar <[email protected]>
Change-Id: I45dc86b7473babba723a873e4a21c8021797fb07
  • Loading branch information
timar committed Oct 16, 2023
1 parent af8ba81 commit 41fce25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions browser/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
Expand All @@ -699,6 +704,7 @@ install-data-hook:
--exclude='multidocs.html' \
--exclude='tsconfig.tsbuildinfo' \
dist $(DESTDIR)$(pkgdatadir)/browser/;
endif

libs:
@mkdir -p $(abs_srcdir)/libs
Expand Down

0 comments on commit 41fce25

Please sign in to comment.