]> git.proxmox.com Git - mirror_lxc.git/blobdiff - Makefile.am
seccomp: use SOCK_SEQPACKET for the notify proxy
[mirror_lxc.git] / Makefile.am
index ede235d4931872e441c148ba4965761786446a1d..dd892c820cf0ef85cfcd3d065882a3ca2cd9e71b 100644 (file)
@@ -1,15 +1,30 @@
 # Makefile.am
 
-SUBDIRS = src test etc scripts doc
-DIST_SUBDIRS = config src test etc scripts doc
-EXTRA_DIST = autogen.sh lxc.spec CONTRIBUTING MAINTAINERS ChangeLog
+ACLOCAL_AMFLAGS = -I config
+
+LIBTOOL_DEPS = @LIBTOOL_DEPS@
+SUBDIRS = config src templates doc hooks
+DIST_SUBDIRS = config src templates doc hooks
+EXTRA_DIST = \
+       autogen.sh \
+       lxc.spec \
+       CONTRIBUTING \
+       MAINTAINERS
+
+RPMARGS =
+
+pcdatadir = $(libdir)/pkgconfig
+pcdata_DATA = lxc.pc
+
+libtool: $(LIBTOOL_DEPS)
+       $(SHELL) ./config.status libtool
+
+install-data-local:
+       $(MKDIR_P) $(DESTDIR)$(LXCPATH)
+       $(MKDIR_P) $(DESTDIR)$(localstatedir)/cache/lxc
 
 ChangeLog::
        @touch ChangeLog
 
-dist-hook:
-       -@cvs2cl
-       @mv ChangeLog $(distdir)
-
 rpm: dist
-       rpmbuild --clean -ta ${distdir}.tar.gz
+       rpmbuild --clean -ta ${distdir}.tar.gz $(RPMARGS)