Skip to content

Commit

Permalink
Test building with Meson in distcheck-hook
Browse files Browse the repository at this point in the history
  • Loading branch information
gnome-mpv committed Oct 14, 2017
1 parent 3f4f076 commit 7fbe871
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ dist-hook:
exit 1; \
fi

# Test building with Meson
distcheck-hook:
mkdir $(PACKAGE)-$(VERSION)/_build/meson \
$(PACKAGE)-$(VERSION)/_inst/meson && \
cd $(PACKAGE)-$(VERSION) && \
meson _build/meson \
--prefix $(abs_top_srcdir)/$(PACKAGE)-$(VERSION)/_inst/meson && \
ninja -C _build/meson install && \
rm -rf _build/meson _inst/meson

install-data-hook:
$(UPDATE_DESKTOP)
$(UPDATE_ICON)
Expand Down

0 comments on commit 7fbe871

Please sign in to comment.