]>
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 \ | |
bfb1bb94 | 11 | MAINTAINERS |
c13c0e08 | 12 | |
f080ffd7 DE |
13 | RPMARGS = |
14 | ||
15 | if ENABLE_LUA | |
16 | RPMARGS += --with lua | |
17 | endif | |
5e97c3fc | 18 | |
ce951132 | 19 | if ENABLE_PYTHON |
f080ffd7 | 20 | RPMARGS += --with python |
ce951132 DE |
21 | endif |
22 | ||
b97b78ab | 23 | pcdatadir = $(libdir)/pkgconfig |
b6345ba1 DL |
24 | pcdata_DATA = lxc.pc |
25 | ||
4245ba50 DE |
26 | install-data-local: |
27 | $(MKDIR_P) $(DESTDIR)$(LXCPATH) | |
f1a3a3ab | 28 | $(MKDIR_P) $(DESTDIR)$(localstatedir)/cache/lxc |
4245ba50 | 29 | |
65c46aef | 30 | ChangeLog:: |
f04d36bf | 31 | @touch ChangeLog |
32 | ||
5e97c3fc | 33 | rpm: dist |
ce951132 | 34 | rpmbuild --clean -ta ${distdir}.tar.gz $(RPMARGS) |