X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile.am;h=dd892c820cf0ef85cfcd3d065882a3ca2cd9e71b;hb=d85813cd63369575c36fc9b728b73026d4c09e1f;hp=2ab16cb11847120200c244ec3237d8d48f651334;hpb=693dcea5e46626ca813e520d970ef4c7b8227404;p=mirror_lxc.git diff --git a/Makefile.am b/Makefile.am index 2ab16cb11..dd892c820 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,19 +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 + @touch ChangeLog rpm: dist - rpmbuild --clean -ta ${distdir}.tar.gz - -release: rpm - @echo "Generating ChangeLog" - @cvs2cl - @sh ./release.sh $(PACKAGE_NAME) \ - $(LXC_MAJOR_VERSION) \ - $(LXC_MINOR_VERSION) \ - $(LXC_MICRO_VERSION) + rpmbuild --clean -ta ${distdir}.tar.gz $(RPMARGS)