File: Makefile.am

package info (click to toggle)
xfce4-utils 4.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,308 kB
  • ctags: 224
  • sloc: sh: 10,593; xml: 1,457; ansic: 1,246; perl: 693; makefile: 281
file content (79 lines) | stat: -rw-r--r-- 1,950 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
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,@_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

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 = $(libexecdir)/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,\@libexecdir\@,$(libexecdir),' < $< > $@

endif

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

DISTCLEANFILES = \
	xfhelp4 \
	startxfce4 \
	xfbrowser4 \
	xinitrc \
	xfconf-migration-4.6.desktop \
	xfconf-migration-4.6.pl