]>
Commit | Line | Data |
---|---|---|
5e97c3fc | 1 | # Makefile.am |
2 | ||
ccf13198 DL |
3 | ACLOCAL_AMFLAGS = -I config |
4 | ||
906f8c4d SG |
5 | SUBDIRS = config src templates doc hooks |
6 | DIST_SUBDIRS = config src templates doc hooks | |
c13c0e08 SG |
7 | EXTRA_DIST = \ |
8 | autogen.sh \ | |
9 | lxc.spec \ | |
10 | CONTRIBUTING \ | |
11 | MAINTAINERS \ | |
12 | runapitests.sh | |
13 | ||
f080ffd7 DE |
14 | RPMARGS = |
15 | ||
16 | if ENABLE_LUA | |
17 | RPMARGS += --with lua | |
18 | endif | |
5e97c3fc | 19 | |
ce951132 | 20 | if ENABLE_PYTHON |
f080ffd7 | 21 | RPMARGS += --with python |
ce951132 DE |
22 | endif |
23 | ||
b97b78ab | 24 | pcdatadir = $(libdir)/pkgconfig |
b6345ba1 DL |
25 | pcdata_DATA = lxc.pc |
26 | ||
4245ba50 DE |
27 | install-data-local: |
28 | $(MKDIR_P) $(DESTDIR)$(LXCPATH) | |
f1a3a3ab | 29 | $(MKDIR_P) $(DESTDIR)$(localstatedir)/cache/lxc |
4245ba50 | 30 | |
65c46aef | 31 | ChangeLog:: |
f04d36bf | 32 | @touch ChangeLog |
33 | ||
5e97c3fc | 34 | rpm: dist |
ce951132 | 35 | rpmbuild --clean -ta ${distdir}.tar.gz $(RPMARGS) |