File: Makefile.am

package info (click to toggle)
gtkpod 2.1.5-10
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 19,424 kB
  • sloc: ansic: 51,604; xml: 16,135; sh: 11,916; cpp: 7,545; perl: 1,449; makefile: 1,380; lex: 638; awk: 73; python: 35
file content (26 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (6)
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
profilesdir = $(pkgdatadir)/data
profiles_DATA = rhythmbox.gep
dist_profiles_DATA = rhythmbox.gep

# gsettings_SCHEMAS is a list of all the schemas you want to install
schema_in_files = org.gtkpod.sjcd.gschema.xml.in
gsettings_SCHEMAS = $(schema_in_files:.gschema.xml.in=.gschema.xml)

# include the appropriate makefile rules for schema handling
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@

EXTRA_DIST = \
	$(profiles_DATA) \
	$(schema_in_files)

CLEANFILES = $(gsettings_SCHEMAS)

all-local: create-data-links

# Creating symbolic links in plugin root directory
create-data-links:
	if [ ! -e $(top_srcdir)/data/$(profiles_DATA) ]; then \
		$(LN_S) `pwd`/$(profiles_DATA) $(top_srcdir)/data/$(profiles_DATA); \
	fi;