X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile.am;h=dd892c820cf0ef85cfcd3d065882a3ca2cd9e71b;hb=d85813cd63369575c36fc9b728b73026d4c09e1f;hp=9945d00c740c29e01f94be4c0f9bbbdd988df4f9;hpb=c01d62f21b21ba6c2b8b78ab3c2b37cc8f8fd265;p=mirror_lxc.git diff --git a/Makefile.am b/Makefile.am index 9945d00c7..dd892c820 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,15 +2,29 @@ ACLOCAL_AMFLAGS = -I config -SUBDIRS = src templates doc -DIST_SUBDIRS = config src templates doc -EXTRA_DIST = autogen.sh lxc.spec CONTRIBUTING MAINTAINERS ChangeLog +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 -pcdatadir = $(datadir)/pkgconfig +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)