-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
38 lines (31 loc) · 1.11 KB
/
Makefile.am
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
SUBDIRS = libltdl po src include third_party_packages Documentation Extras
EXTRA_DIST = \
projects \
installers \
scripts \
tests \
ambulant.spec \
libambulant.pc \
autogen.sh \
bin/win32
AM_CPPFLAGS=-rdynamic
# Run the configure for distcheck with the same arguments as our own configure:
DISTCHECK_CONFIGURE_FLAGS=$(ac_configure_args)
dist-hook:
rm -rf `find $(distdir) -name CVS -o -name '.#*' -o -name '*~' -o -name '*~.*'`
# Special rule for building MacOSX binary installer.
# Will only work on OSX 10.3 or later
MACOS_INSTALLDIR=AmbulantPlayer
MACOS_DMGNAME=AmbulantPlayer-$(VERSION)
macosbininstaller:
-rmdir dist/$(MACOS_INSTALLDIR)
mkdir -p dist/$(MACOS_INSTALLDIR)
cp $(srcdir)/README dist/$(MACOS_INSTALLDIR)
cp $(srcdir)/COPYING dist/$(MACOS_INSTALLDIR)
cp -R $(DESTDIR)/Applications/"Ambulant Player".app dist/$(MACOS_INSTALLDIR)
cp -R $(srcdir)/Extras/DemoPresentation dist/$(MACOS_INSTALLDIR)
rm -rf `find dist -name CVS`
hdiutil create -srcfolder dist/$(MACOS_INSTALLDIR) dist/$(MACOS_DMGNAME).dmg
ACLOCAL_AMFLAGS=-I libltdl/m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libambulant.pc