X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile.am;h=dd892c820cf0ef85cfcd3d065882a3ca2cd9e71b;hb=cc4c0832515f90b0f75c4a05722fbb951bfedcb7;hp=61b68fcf12187a9892515df7a7e09f1b2e229b61;hpb=5e97c3fcce787a5bc0f8ceef43aa3e05195b480a;p=mirror_lxc.git diff --git a/Makefile.am b/Makefile.am index 61b68fcf1..dd892c820 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,30 @@ # Makefile.am -SUBDIRS = src test etc -DIST_SUBDIRS = config src test etc -EXTRA_DIST = lxc.spec +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 rpm: dist - rpmbuild --clean -ta ${distdir}.tar.gz + rpmbuild --clean -ta ${distdir}.tar.gz $(RPMARGS)