File: Makefile.am

package info (click to toggle)
lives 1.6.2~ds1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 21,016 kB
  • sloc: ansic: 149,382; sh: 12,577; perl: 8,710; python: 7,078; cpp: 2,589; makefile: 1,370; yacc: 291; sed: 16
file content (138 lines) | stat: -rw-r--r-- 4,609 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
## Process this file with automake to produce Makefile.in

AUTOMAKE_OPTIONS = 1.7

DOXYGEN = @DOXYGEN@

if ENABLE_OSC
OSC_SUBDIRS = libOSC
endif

MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config.h.in \
                       stamp-h.in config.log config.cache config.status

if !HAVE_SYSTEM_WEED
WEED_SUBDIRS=libweed
endif

SUBDIRS = $(OSC_SUBDIRS) intl $(WEED_SUBDIRS) src m4 lives-plugins po resources
PACKAGE_CAPITALISED = LiVES

docdir = "$(prefix)/share/doc/$(PACKAGE)-$(VERSION)"
sharedir = "$(prefix)/share"

if HAVE_DOXYGEN
docs-doxygen:
	$(DOXYGEN) LiVES.doxygen
else
docs-doxygen:
	@echo "Doxygen not installed, skipping sourcecode documentation"
endif

#NOTE - if packaging libweed separately, weed-docs should go in libweed/Makefile.am
doc_DATA = lives-plugins/marcos-encoders/README.multi_encoder AUTHORS BUGS ChangeLog FEATURES GETTING.STARTED README OMC/lives-OMC.txt RFX/LiVES-Perl.odt  RFX/rfxbuilder.odt RFX/RFX.spec weed-docs/weedspec.txt weed-docs/weedevents.txt docs/clip_format.txt

EXTRA_DIST = \
	configure \
	build-lives-rfx-plugin* \
	smogrify \
	midi* \
	tools/autolives.pl \
	tools/batchproc.pl \
	tools/monitorlives.pl \
	tools/set_shuffle.pl \
	tools/lives* \
	po/pxgettext \
	po/make_rfx_builtin_list.pl \
	po/update_with_plugins.sh \
	po/update_with_smogrify.sh \
	po/update_with_smogrify \
	default.keymap \
	COPYING \
	INSTALL \
	menu-entries/LiVES.desktop \
	menu-entries/lives.png \
	menu-entries/lives.xpm \
	LiVES.doxygen \
	$(doc_DATA)


installdirs: 
	mkinstalldirs
	"$(srcdir)/mkinstalldirs" \
	mkdir -p "$(DESTDIR)$(bindir)" \
	mkdir -p "$(DESTDIR)$(datadir)" \
	mkdir -p "$(DESTDIR)$(docdir)" \
	mkdir -p "$(DESTDIR)$(sharedir)/applications/" \
	mkdir -p "$(DESTDIR)$(sharedir)/pixmaps/" \
	mkdir -p "$(DESTDIR)$(sharedir)/resources/"

install-data-local:
	make docs-doxygen
if HAVE_DOXYGEN
	mkdir -p "$(DESTDIR)$(docdir)/html/LiVES"
	cp -rf "$(srcdir)/docs/doxygen/html/"* "$(DESTDIR)$(docdir)/html/LiVES"
#NOTE - if packaging libweed separately, this should go in libweed/Makefile.am
	mkdir -p "$(DESTDIR)$(docdir)/html/libweed"


if HAVE_SYSTEM_WEED

else
	cp -rf "$(srcdir)/weed-docs/doxygen/html/"* "$(DESTDIR)$(docdir)/html/libweed"
endif

endif
	mkdir -p "$(DESTDIR)$(sharedir)/applications/"
	cp -f "$(srcdir)/menu-entries/LiVES.desktop" "$(DESTDIR)$(sharedir)/applications/"
	mkdir -p "$(DESTDIR)$(sharedir)/pixmaps/"
	cp -f "$(srcdir)/menu-entries/lives.xpm" "$(DESTDIR)$(sharedir)/pixmaps/"
	mkdir -p "$(DESTDIR)$(sharedir)/app-install/icons/"
	cp -f "$(srcdir)/menu-entries/lives.png" "$(DESTDIR)$(sharedir)/app-install/icons/"

install-exec-local:
	rm -rf "$(DESTDIR)$(bindir)/lives"
	cp -f "$(srcdir)/smogrify" "$(DESTDIR)$(bindir)" && chmod a+rx "$(DESTDIR)$(bindir)/smogrify"
	cp -f "$(srcdir)/midistart" "$(DESTDIR)$(bindir)" && chmod a+rx "$(DESTDIR)$(bindir)/midistart"
	cp -f "$(srcdir)/midistop" "$(DESTDIR)$(bindir)" && chmod a+rx "$(DESTDIR)$(bindir)/midistop"
	cp -f "$(srcdir)/tools/autolives.pl" "$(DESTDIR)$(bindir)" && chmod a+rx "$(DESTDIR)$(bindir)/autolives.pl"
	cp -f "$(srcdir)/build-lives-rfx-plugin" "$(DESTDIR)$(bindir)" && chmod a+rx "$(DESTDIR)$(bindir)/build-lives-rfx-plugin"
	cp -f "$(srcdir)/build-lives-rfx-plugin-multi" "$(DESTDIR)$(bindir)" && chmod a+rx "$(DESTDIR)$(bindir)/build-lives-rfx-plugin-multi"
	cp -f "$(srcdir)/default.keymap" "$(DESTDIR)$(datadir)/$(PACKAGE)/"
	"$(DESTDIR)$(bindir)/build-lives-rfx-plugin-multi" builtin "$(DESTDIR)$(datadir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)"
	"$(top_srcdir)/po/update_with_plugins.sh" install "$(PACKAGE)" "$(prefix)" "$(DESTDIR)"

install-exec-hook:
	$(LN_S) "$(DESTDIR)$(bindir)/lives-exe" "$(DESTDIR)$(bindir)/lives"


uninstall-local:
	rm -rf "$(bindir)/lives"
	rm -rf "$(bindir)/lives-exe"
	rm -rf "$(bindir)/smogrify"
	rm -rf "$(bindir)/midistart"
	rm -rf "$(bindir)/midistop"
	rm -rf "$(bindir)/autolives.pl"
	rm -rf "$(bindir)/build-lives-rfx-plugin"
	rm -rf "$(bindir)/build-lives-rfx-plugin-multi"
	rm -rf "$(datadir)/$(PACKAGE)"
	rm -rf "$(libdir)/$(PACKAGE)"
	rm -rf "$(docdir)"
	rm -rf "$(sharedir)/applications/LiVES.desktop"
	rm -rf "$(sharedir)/pixmaps/lives.xmp"
	rm -rf "$(sharedir)/resources"

	@echo
	@echo "		*** WARNING - user specific configuration files have NOT been removed."
	@echo "		*** To complete uninstallation, you may wish to remove ~/.lives and ~/.lives-dir" 

dist-hook:
	"$(top_srcdir)/po/update_with_plugins.sh" dist "$(PACKAGE)" "$(prefix)"
	rm -rf "$(distdir)/po/"*.gmo
	rm -rf "$(distdir)/"*~

DISTCLEANFILES = intltool-extract intltool-merge intltool-update po/POTFILES_PLUGINS

ACLOCAL_AMFLAGS = -I m4