]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - Makefile
keep autoconf-generated files over make distclean
authorChristoph Hellwig <hch@lst.de>
Wed, 29 Apr 2009 13:32:28 +0000 (15:32 +0200)
committerChristoph Hellwig <hch@brick.lst.de>
Wed, 29 Apr 2009 13:32:28 +0000 (15:32 +0200)
commit1eb10ccb85261931d5401adbff11acd2dbc5bf63
treeca2deb05352d500235c4bd4d50da8e195d680ea8
parentdd72957eac87cd34ff9f867e05e2aac23afed3e9
keep autoconf-generated files over make distclean

We do want to ship the autoconf-generated files over make distclean and
pick them up in Makepkgs so that a user compiling the program doesn't
require autoconf.

For that split up make distclean from make realclean and exclude the
files we want to keep form the former.

To make this easier to maintain adher to stricter rules of use for
CONFIGURE and LDIRT.  CONFIGURE now includes all generated files from
autoconf (or for it like our copied install-sh) and gets only removed
on make realclean, but added to LSRCFILES so that Makepkgs can pick it
up.  Everything else than needs to be removed on a realclean gets
assigned to LDIRT.

Also split up the configure rule into one to generate the configure
script and one to run it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Frysinger <vapier@gentoo.org>
Makefile