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