File: Makefile.am

package info (click to toggle)
cockpit 337-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 36,232 kB
  • sloc: javascript: 47,090; python: 38,766; ansic: 35,470; xml: 6,048; sh: 3,413; makefile: 614
file content (27 lines) | stat: -rw-r--r-- 1,040 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
build-for-flatpak: cockpit-ws

INSTALL_FLATPAK_TARGETS = \
	install-cockpitwsPROGRAMS \
	install-dist_client_metainfoDATA \
	install-dist_defaultbrandingDATA \
	install-dist_applicationsDATA \
	install-dist_cockpitclientDATA \
	install-dist_cockpitclientSCRIPTS \
	install-dist_dbusservicesDATA \
	install-dist_scalableiconDATA \
	install-dist_symboliciconDATA \
	install-cockpit-client-symlink \
	install-python \
	install-bundles \
	$(NULL)

install-for-flatpak: $(INSTALL_FLATPAK_TARGETS)
	appstreamcli validate --no-net src/client/org.cockpit_project.CockpitClient.metainfo.xml
	if test -s "${DOWNSTREAM_RELEASES_XML}"; then \
	    $(top_srcdir)/tools/patch-metainfo \
	        '$(DESTDIR)$(datadir)/metainfo/org.cockpit_project.CockpitClient.metainfo.xml' \
	        "${DOWNSTREAM_RELEASES_XML}"; \
	fi
	appstreamcli validate --no-net $(DESTDIR)$(datadir)/metainfo/org.cockpit_project.CockpitClient.metainfo.xml
	cp -rT dist/static $(DESTDIR)$(pkgdatadir)/static
	rm -rf $(DESTDIR)$(pkgdatadir)/apps $(DESTDIR)$(pkgdatadir)/playground