mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
26 lines
571 B
Makefile
26 lines
571 B
Makefile
AUTOMAKE_OPTIONS = foreign dist-zip
|
|
|
|
SUBDIRS = doc scripts $(BUILDDIR)
|
|
CONFIG_CLEAN_FILES = aclocal.m4 config.guess config.sub
|
|
CONFIG_CLEAN_FILES += depcomp missing mkinstalldirs
|
|
EXTRA_DIST = autogen.sh
|
|
|
|
.PHONY: quilt
|
|
quilt: .quilt-$(BUILDDIR)
|
|
autogen: .autogen-$(BUILDDIR)
|
|
config: .config-$(BUILDDIR)
|
|
.quilt-$(BUILDDIR):
|
|
./scripts/quilt.sh -p $(NAME) -b $(BUILDDIR) -s $(SERIESFILE) -d $(PATCHDIR)
|
|
echo $(BUILDDIR) >$@
|
|
|
|
unquilt:
|
|
rm -rf $(BUILDDIR)
|
|
rm -f .quilt-$(BUILDDIR)
|
|
|
|
clean-generic:
|
|
|
|
distclean: unquilt
|
|
|
|
rpms: dist Makefile
|
|
rpmbuild -ta $(distdir).tar.gz
|