mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 13:53:14 +00:00

I recently noticed that the generated tarballs with "make dist" were incomplete unless the configure script was run on a machine with all possible build dependencies. That's wrong as you clearly don't need those dependencies to generate the tarball. This change fixes that. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
36 lines
572 B
Makefile
36 lines
572 B
Makefile
# Makefile.am
|
|
|
|
ACLOCAL_AMFLAGS = -I config
|
|
|
|
SUBDIRS = config src templates doc hooks
|
|
DIST_SUBDIRS = config src templates doc hooks
|
|
EXTRA_DIST = \
|
|
autogen.sh \
|
|
lxc.spec \
|
|
CONTRIBUTING \
|
|
MAINTAINERS \
|
|
runapitests.sh
|
|
|
|
RPMARGS =
|
|
|
|
if ENABLE_LUA
|
|
RPMARGS += --with lua
|
|
endif
|
|
|
|
if ENABLE_PYTHON
|
|
RPMARGS += --with python
|
|
endif
|
|
|
|
pcdatadir = $(libdir)/pkgconfig
|
|
pcdata_DATA = lxc.pc
|
|
|
|
install-data-local:
|
|
$(MKDIR_P) $(DESTDIR)$(LXCPATH)
|
|
$(MKDIR_P) $(DESTDIR)$(localstatedir)/cache/lxc
|
|
|
|
ChangeLog::
|
|
@touch ChangeLog
|
|
|
|
rpm: dist
|
|
rpmbuild --clean -ta ${distdir}.tar.gz $(RPMARGS)
|