X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile.am;h=dd892c820cf0ef85cfcd3d065882a3ca2cd9e71b;hb=045ee7210dbe4ca1f250128e3ea4dc2cf7ec519c;hp=ede235d4931872e441c148ba4965761786446a1d;hpb=91e1b53961680a77faef97ad00a49adca2cf78d8;p=mirror_lxc.git diff --git a/Makefile.am b/Makefile.am index ede235d49..dd892c820 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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)