File: Makefile.am

package info (click to toggle)
freedroidrpg 0.16.1-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 260,740 kB
  • sloc: ansic: 63,915; sh: 4,588; makefile: 503; python: 178; xml: 54; sed: 16
file content (23 lines) | stat: -rw-r--r-- 747 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Process this file with automake to produce Makefile.in

# For Freedesktop compliance

appstreamdir = $(datadir)/metainfo
appstream_in_files = freedroidrpg.appdata.xml
dist_appstream_DATA = $(appstream_in_files)

desktopdir = $(datadir)/applications
desktop_in_files = freedroidrpg.desktop
dist_desktop_DATA = $(desktop_in_files)

EXTRA_DIST = icons

install-data-local:
	@$(mkinstalldirs) $(DESTDIR)$(datadir)
	cd $(srcdir); \
	find icons -type d -exec echo $(DESTDIR)$(datadir)/{} \; | xargs $(mkinstalldirs) ; \
	find icons -type f -exec $(INSTALL_DATA) {} $(DESTDIR)$(datadir)/{} \;

uninstall-local:
	@find $(DESTDIR)$(datadir)/ -name freedroidrpg.png -exec rm -f {} \;
	@find $(DESTDIR)$(datadir)/ -name freedroidrpg.svg -exec rm -f {} \;