File: Makefile.am

package info (click to toggle)
simple-scan 3.23.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,888 kB
  • ctags: 2,565
  • sloc: ansic: 59,503; sh: 4,783; xml: 178; makefile: 150; python: 19; sed: 16
file content (32 lines) | stat: -rw-r--r-- 1,038 bytes parent folder | download
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
28
29
30
31
32
SUBDIRS = icons

desktopdir = $(datadir)/applications
desktop_in_files = simple-scan.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

# Explicitly list the keywords to stop the icon field being translated
# https://bugs.launchpad.net/bugs/1624662
$(desktop_DATA): $(desktop_in_files)
	$(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=GenericName --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@

gsettings_SCHEMAS = org.gnome.SimpleScan.gschema.xml
@GSETTINGS_RULES@

appstream_in_files = simple-scan.appdata.xml.in
appstream_XML = $(appstream_in_files:.appdata.xml.in=.appdata.xml)
@APPSTREAM_XML_RULES@

$(appstream_XML): $(appstream_in_files)
	$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@

dist_man1_MANS = simple-scan.1

EXTRA_DIST = $(desktop_in_files)  \
             $(appstream_in_files) \
             $(gsettings_SCHEMAS) \
             simple-scan.ui \
             simple-scan.gresource.xml

DISTCLEANFILES = \
	$(desktop_DATA) \
	$(appstream_XML)