summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 8637e7f09638d23a41c48447b5b742db23c32395 (plain)
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
include $(top_srcdir)/Makefile.shared

@XML_I18N_MERGE_DESKTOP_RULE@

DESKTOP_IN_FILES=nautilus.desktop.in
DESKTOP_FILES=$(DESKTOP_IN_FILES:.desktop.in=.desktop)

if HAVE_APPLETS
APPLETS_SUBDIRS = applets
endif

SUBDIRS =			\
	data 			\
	icons 			\
	intl 			\
	cut-n-paste-code 	\
	librsvg 		\
	libnautilus 		\
	libnautilus-adapter	\
	libnautilus-extensions 	\
	helper-utilities 	\
	helper-scripts		\
	src 			\
	components		\
	$(APPLETS_SUBDIRS)	\
	test 			\
	user-guide		\
	po 			\
	$(NULL)

EXTRA_DIST=					\
	COPYING.LIB				\
	RPMs-README				\
	HACKING					\
	MAINTAINERS				\
	nautilus.spec.in			\
	nautilus-clean.sh			\
	nautilus.desktop			\
	nautilus.desktop.in			\
	nautilus-launch-icon.png		\
	ChangeLog-20000414			\
	ChangeLog-20000625			\
	ChangeLog-20000831			\
	ChangeLog-20001018			\
	xml-i18n-extract.in			\
	xml-i18n-merge.in			\
	xml-i18n-update.in			\
	Makefile.shared				\
	$(DESKTOP_IN_FILES)			\
	$(DESKTOP_FILES)			\
	$(NULL)

appicondir = $(datadir)/pixmaps
appicon_DATA = nautilus-launch-icon.png

Applicationsdir = $(datadir)/gnome/apps/Applications
Applications_DATA = $(DESKTOP_FILES)

dist-hook: nautilus.spec
	cp nautilus.spec $(distdir)

install-data-hook: nautilus-clean.sh
	$(mkinstalldirs) $(DESTDIR)/$(prefix)/bin
	@list='nautilus-clean.sh'; for p in $$list; do\
	  if test -f $(srcdir)/$$p; then \
	    echo "  $(INSTALL_PROGRAM) $(srcdir)/$$p $(DESTDIR)/$(prefix)/bin/$$p"; \
	    $(INSTALL_PROGRAM) $(srcdir)/$$p $(DESTDIR)/$(prefix)/bin/$$p; \
	  else :; fi; \
	done