]> git.proxmox.com Git - mirror_zfs.git/blob - Makefile.am
Initial Linux ZFS GIT Repo
[mirror_zfs.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign dist-zip
2
3 SUBDIRS = doc scripts $(BUILDDIR)
4 CONFIG_CLEAN_FILES = aclocal.m4 config.guess config.sub
5 CONFIG_CLEAN_FILES += depcomp missing mkinstalldirs
6 EXTRA_DIST = autogen.sh
7
8 .PHONY: quilt
9 quilt: .quilt-$(BUILDDIR)
10 autogen: .autogen-$(BUILDDIR)
11 config: .config-$(BUILDDIR)
12 .quilt-$(BUILDDIR):
13 ./scripts/quilt.sh -p $(NAME) -b $(BUILDDIR) -s $(SERIESFILE) -d $(PATCHDIR)
14 echo $(BUILDDIR) >$@
15
16 unquilt:
17 rm -rf $(BUILDDIR)
18 rm -f .quilt-$(BUILDDIR)
19
20 clean-generic:
21
22 distclean: unquilt
23
24 rpms: dist Makefile
25 rpmbuild -ta $(distdir).tar.gz