mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-11-03 21:49:50 -09:00
build: Include top-level FMF plan into dist tarballs
This fixes tmt's `discover: dist-git-source` [1], so that we can eventually drop the horrible fmf `ref:` hack in packit.yaml. [1] https://src.fedoraproject.org/rpms/cockpit/pull-request/66
This commit is contained in:
parent
9aabe52924
commit
a40b56a6ce
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ CLEANFILES += cockpit-*.tar.xz
|
|||
EXTRA_DIST += $(EXTRA_FILES)
|
||||
distdir: $(DISTFILES)
|
||||
@if [ -e '$(srcdir)/.git' ]; then \
|
||||
git -C '$(srcdir)' ls-files -x test/reference test tools > .extra_dist.tmp && \
|
||||
git -C '$(srcdir)' ls-files -x test/reference .fmf plans test tools > .extra_dist.tmp && \
|
||||
mv .extra_dist.tmp '$(srcdir)/.extra_dist'; fi
|
||||
$(MAKE) $(AM_MAKEFLAGS) distdir-am EXTRA_FILES="$$(tr '\n' ' ' < $(srcdir)/.extra_dist) .extra_dist"
|
||||
$(srcdir)/src/client/add-metainfo-releases --version '$(VERSION)' '$(distdir)'/src/client/*.metainfo.xml
|
||||
|
|
|
|||
Loading…
Reference in a new issue