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