forked from bianster/mysqlfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
37 lines (27 loc) · 857 Bytes
/
Makefile.am
File metadata and controls
37 lines (27 loc) · 857 Bytes
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
# $Id$
bin_PROGRAMS = mysqlfs
schema_DATA = schema.sql install.sql
schemadir = $(datadir)/$(distdir)
# because the source is not in a subdir, we cannot just put the tests in a SUBDIRS= :(
check-recursive : mysqlfs
EXTRA_DIST = $(schema_DATA) mysqlfs.spec
DIST_SUBDIRS = doc plugins pkg tests-autotest
SUBDIRS = pkg
if DO_PLUGINS
SUBDIRS += plugins
endif
SUBDIRS += tests-autotest
mysqlfs_SOURCES = mysqlfs.c query.c pool.c log.c
noinst_HEADERS = mysqlfs.h query.h pool.h log.h
if DO_DOXYGEN
doc: Doxyfile pkg/doc-mainpage.c doc/*
make -C doc doc
$(DOXYGEN)
doc-website: doc
rsync -avP -e ssh htdocs/html chickenandporn,@PACKAGE_NAME@@frs.sourceforge.net:htdocs
endif
if DO_RPMBUILD
release = $(rpm --query --queryformat="%{RELEASE}\n" --specfile @PACKAGE@.spec |head -1)
rpm: dist-bzip2 @PACKAGE@.spec
$(RPMBUILD) -ta $(distdir).tar.bz2
endif