]> git.proxmox.com Git - mirror_lxc.git/blob - Makefile.am
network: clear ifindeces
[mirror_lxc.git] / Makefile.am
1 # Makefile.am
2
3 ACLOCAL_AMFLAGS = -I config
4
5 LIBTOOL_DEPS = @LIBTOOL_DEPS@
6 SUBDIRS = config src templates doc hooks
7 DIST_SUBDIRS = config src templates doc hooks
8 EXTRA_DIST = \
9 autogen.sh \
10 lxc.spec \
11 CONTRIBUTING \
12 MAINTAINERS
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 libtool: $(LIBTOOL_DEPS)
28 $(SHELL) ./config.status libtool
29
30 install-data-local:
31 $(MKDIR_P) $(DESTDIR)$(LXCPATH)
32 $(MKDIR_P) $(DESTDIR)$(localstatedir)/cache/lxc
33
34 ChangeLog::
35 @touch ChangeLog
36
37 rpm: dist
38 rpmbuild --clean -ta ${distdir}.tar.gz $(RPMARGS)