Makefile.am 775 Bytes
Newer Older
1
SUBDIRS = intl po macros libglade plugins src doc
2

3
EXTRA_DIST = \
4
	gnumeric.desktop README HACKING gnumeric.spec.in \
5
	gnumeric.keys.in gnumeric.mime $(appicon_DATA)
6

7
appicondir = $(datadir)/pixmaps
8
appicon_DATA = gnome-gnumeric.png gnome-gnumeric-xl.png
Arturo Espinosa's avatar
Arturo Espinosa committed
9

10
Applicationsdir = $(datadir)/gnome/apps/Applications
11 12 13 14 15
Applications_DATA = gnumeric.desktop

Mimedir = $(datadir)/mime-info
Mime_DATA = gnumeric.keys gnumeric.mime

16 17 18
gnewdir = $(datadir)/mc/templates
gnew_DATA = gnumeric.desktop

19
gnumeric.keys: gnumeric.keys.in Makefile
20
	sed -e 's^\@icondir\@^$(appicondir)^g' < $(srcdir)/gnumeric.keys.in > gnumeric.keys.tmp \
21 22
	&& mv gnumeric.keys.tmp gnumeric.keys 

23 24
dist-hook:
	mkdir $(distdir)/samples
25 26
	cp $(srcdir)/samples/*gnumeric $(distdir)/samples	
	cp gnumeric.spec $(distdir)
27