]> git.proxmox.com Git - mirror_lxc.git/blob - Makefile.am
tests: fix image download for s390x
[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
13 RPMARGS =
14
15 if ENABLE_LUA
16 RPMARGS += --with lua
17 endif
18
19 if ENABLE_PYTHON
20 RPMARGS += --with python
21 endif
22
23 pcdatadir = $(libdir)/pkgconfig
24 pcdata_DATA = lxc.pc
25
26 install-data-local:
27 $(MKDIR_P) $(DESTDIR)$(LXCPATH)
28 $(MKDIR_P) $(DESTDIR)$(localstatedir)/cache/lxc
29
30 ChangeLog::
31 @touch ChangeLog
32
33 rpm: dist
34 rpmbuild --clean -ta ${distdir}.tar.gz $(RPMARGS)