File: Makefile.am

package info (click to toggle)
cockpit 355-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,568 kB
  • sloc: javascript: 774,787; python: 40,655; ansic: 35,157; cpp: 11,141; sh: 3,512; makefile: 580; xml: 261
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