File: Makefile.am

package info (click to toggle)
ggobi 2.1.9~20091212-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 19,340 kB
  • ctags: 5,083
  • sloc: ansic: 57,242; xml: 30,604; cpp: 833; makefile: 355; java: 225; perl: 201; sh: 122; python: 23
file content (95 lines) | stat: -rw-r--r-- 1,997 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
88
89
90
91
92
93
94
95
SUBDIRS = libltdl src plugins po doc

EXTRA_DIST = bootstrap CPLicense.txt

datafilesdir = $(pkgdatadir)/data
dist_datafiles_DATA = \
	data/places.xml \
  data/sleep.csv \
  data/tmin.xml \
  data/Shipman.csv \
  data/laser.csv \
  data/prim7.xml \
  data/sleep.xml \
  data/tmin1.csv \
  data/Shipman.xml \
  data/laser.xml \
  data/ratcns.csv \
  data/snetwork.xml \
  data/tmin1.xml \
  data/adhoc.xml \
  data/morsecodes.xml \
  data/ratcns.xml \
  data/stdColorMap.xml \
  data/tmin2.xml \
  data/algal-bloom.xml \
  data/olive.csv \
  data/river.xml \
  data/tao-nomiss.xml \
  data/tmin3.xml \
  data/buckyball.xml \
  data/olive.xml \
  data/roos.csv \
  data/tao.csv \
  data/tmin4.xml \
  data/cube6.xml \
  data/perm4.xml \
  data/roos.xml \
  data/tao.xml \
  data/eies.xml \
  data/perm5.xml \
  data/sarsHK.xml \
  data/tips.csv \
  data/flea.csv \
  data/pigs.xml \
  data/sat.csv \
  data/tips.xml \
  data/flea.xml \
  data/places.csv \
  data/sat.xml \
  data/tmin.csv

desktopdir = $(datadir)/applications
dist_desktop_DATA = xdg/ggobi.desktop

iconsdir = $(datadir)/pixmaps
dist_icons_DATA = xdg/ggobi.png

sharedir = $(pkgdatadir)/share
dist_share_DATA = share/colorschemes.xml

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = ggobi-system.pc

ggobiconfdir = $(sysconfdir)/xdg/ggobi
ggobiconf_DATA = ggobirc

install-data-hook:
	cd $(DESTDIR)$(pkgconfigdir) && test -f ggobi-system.pc && \
  mv ggobi-system.pc ggobi.pc

uninstall-local:
	rm -f $(DESTDIR)$(pkgconfigdir)/ggobi.pc

DISTCHECK_CONFIGURE_FLAGS = --with-all-plugins

# We add symlinks for developer convenience
all-local: ggobi ggobirc

ggobi:
	ln -s src/ggobi ggobi

# Use this rule to build your ggobirc (for loading plugins)
ggobirc:
	echo "<ggobirc>" > $@
	echo "<plugins>" >> $@

	for i in $(PLUGIN_DIRS) ; do \
	  echo "" >> $@ ; \
	  cat plugins/$$i/plugin.xml >> $@ ; \
	done
	echo "</plugins>" >> $@ 
	echo "</ggobirc>" >> $@

win32-installer: ggobirc
	makensis //DVERSION="@VERSION@" win32/ggobi.nsi