]> git.proxmox.com Git - mirror_lxc.git/blob - Makefile.am
eac2bfd32796c0993ab52388e6a821f7e0ec07ea
[mirror_lxc.git] / Makefile.am
1 # Makefile.am
2
3 ACLOCAL_AMFLAGS = -I config
4
5 SUBDIRS = config src templates doc hooks
6 DIST_SUBDIRS = config src templates doc hooks
7 EXTRA_DIST = \
8 autogen.sh \
9 lxc.spec \
10 CONTRIBUTING \
11 MAINTAINERS \
12 runapitests.sh
13
14 RPMARGS =
15
16 if ENABLE_LUA
17 RPMARGS += --with lua
18 endif
19
20 if ENABLE_PYTHON
21 RPMARGS += --with python
22 endif
23
24 pcdatadir = $(libdir)/pkgconfig
25 pcdata_DATA = lxc.pc
26
27 install-data-local:
28 $(MKDIR_P) $(DESTDIR)$(LXCPATH)
29 $(MKDIR_P) $(DESTDIR)$(localstatedir)/cache/lxc
30
31 ChangeLog::
32 @touch ChangeLog
33
34 rpm: dist
35 rpmbuild --clean -ta ${distdir}.tar.gz $(RPMARGS)