| 1 |
build-for-flatpak: cockpit-ws |
| 2 |
|
| 3 |
INSTALL_FLATPAK_TARGETS = \ |
| 4 |
install-cockpitwsPROGRAMS \ |
| 5 |
install-dist_client_metainfoDATA \ |
| 6 |
install-dist_defaultbrandingDATA \ |
| 7 |
install-dist_applicationsDATA \ |
| 8 |
install-dist_cockpitclientDATA \ |
| 9 |
install-dist_cockpitclientSCRIPTS \ |
| 10 |
install-dist_dbusservicesDATA \ |
| 11 |
install-dist_scalableiconDATA \ |
| 12 |
install-dist_symboliciconDATA \ |
| 13 |
install-cockpit-client-symlink \ |
| 14 |
install-python \ |
| 15 |
install-bundles \ |
| 16 |
$(NULL) |
| 17 |
|
| 18 |
install-for-flatpak: $(INSTALL_FLATPAK_TARGETS) |
| 19 |
appstreamcli validate --no-net src/client/org.cockpit_project.CockpitClient.metainfo.xml |
| 20 |
if test -s "${DOWNSTREAM_RELEASES_XML}"; then \ |
| 21 |
$(top_srcdir)/tools/patch-metainfo \ |
| 22 |
'$(DESTDIR)$(datadir)/metainfo/org.cockpit_project.CockpitClient.metainfo.xml' \ |
| 23 |
"${DOWNSTREAM_RELEASES_XML}"; \ |
| 24 |
fi |
| 25 |
appstreamcli validate --no-net $(DESTDIR)$(datadir)/metainfo/org.cockpit_project.CockpitClient.metainfo.xml |
| 26 |
cp -rT dist/static $(DESTDIR)$(pkgdatadir)/static |
| 27 |
rm -rf $(DESTDIR)$(pkgdatadir)/apps $(DESTDIR)$(pkgdatadir)/playground |