File: Makefile.am

package info (click to toggle)
xfce4-utils 4.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,396 kB
  • sloc: sh: 11,502; ansic: 2,028; xml: 1,472; perl: 693; makefile: 374
file content (87 lines) | stat: -rw-r--r-- 2,209 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
scripts= \
	xfterm4 \
	xflock4 \
	xfmountdev4

bin_SCRIPTS= \
	$(scripts) \
	xfbrowser4 \
	startxfce4 \
	xfhelp4

# cannot be set from configure, because ${prefix} is not expanded
edit = sed \
	-e "s,@_datadir_\@,$(datadir),g" \
	-e "s,@_libdir_\@,$(libdir),g" \
	-e "s,@_docdir_\@,$$(dirname $(docdir)),g" \
	-e "s,@_sysconfdir_\@,$(sysconfdir),g" \
	-e "s,@BROWSER_DEFAULT\@,@BROWSER_DEFAULT@,g" \
	-e "s,@TERMINAL_DEFAULT\@,@TERMINAL_DEFAULT@,g"

xfbrowser4: Makefile $(srcdir)/xfbrowser4.in
	rm -f xfbrowser4 xfbrowser4.tmp
	$(edit) $(srcdir)/xfbrowser4.in >xfbrowser4.tmp
	mv xfbrowser4.tmp xfbrowser4

startxfce4: Makefile $(srcdir)/startxfce4.in
	rm -f startxfce4 startxfce4.tmp
	$(edit) $(srcdir)/startxfce4.in >startxfce4.tmp
	mv startxfce4.tmp startxfce4

xfhelp4: Makefile $(srcdir)/xfhelp4.in
	rm -f xfhelp4 xfhelp4.tmp
	$(edit) $(srcdir)/xfhelp4.in >xfhelp4.tmp
	mv xfhelp4.tmp xfhelp4

desktopdir = $(datadir)/applications
desktop_in_files = xfhelp4.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

xinitrc: Makefile $(srcdir)/xinitrc.in
	rm -f xinitrc xinitrc.tmp
	$(edit) $(srcdir)/xinitrc.in >xinitrc.tmp
	mv xinitrc.tmp xinitrc

conffilesdir=@sysconfdir@/xdg/xfce4
conffiles_DATA=\
	xinitrc \
	Xft.xrdb

if XFCONF_MIGRATION

migrationscriptdir = $(HELPER_PATH_PREFIX)/xfce4/xfconf-migration
migrationscript_in_files = xfconf-migration-4.6.pl.in
migrationscript_SCRIPTS = $(migrationscript_in_files:.pl.in=.pl)

xfconf-migration-4.6.pl: $(srcdir)/xfconf-migration-4.6.pl.in
	sed 's,\@PERL\@,$(PERL),' < $< > $@

autostartdir = $(sysconfdir)/xdg/autostart
autostart_in_files = xfconf-migration-4.6.desktop.in
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)

xfconf-migration-4.6.desktop: $(srcdir)/xfconf-migration-4.6.desktop.in
	sed 's,\@HELPERDIR\@,$(HELPER_PATH_PREFIX),' < $< > $@

endif

EXTRA_DIST = \
	$(scripts) \
	$(conffiles_DATA) \
	$(desktop_in_files) \
	xfbrowser4.in \
	startxfce4.in \
	xfhelp4.in \
	xinitrc.in \
	xfconf-migration-4.6.desktop.in \
	xfconf-migration-4.6.pl.in

DISTCLEANFILES = \
	$(desktop_DATA) \
	xfhelp4 \
	startxfce4 \
	xfbrowser4 \
	xinitrc \
	xfconf-migration-4.6.desktop \
	xfconf-migration-4.6.pl