[pacman-dev] [PATCH] Add a --clearsource option to clear the source directory before build.
Allan McRae
allan at archlinux.org
Thu Oct 3 23:34:25 EDT 2013
On 04/10/13 04:15, Alexander Rødseth wrote:
> How about "makepkg -C" instead? It's reasonably short and fast to
> write, and if an even shorter alias is desired, that is possible too.
>
> There is a reason that "make clean" turned out to be a good idea
> instead of manually removing files. If nothing else, it can be used to
> reduce the chance of deleting the wrong files.
OK... here is the plan.
@Lukas: Add the -C flag and call the long option "--cleanbuild", and I
will accept that. I'm fairly sure we always delete $pkgdir now that
the package() function is enforced, so this is doing a clean build.
Allan
More information about the pacman-dev
mailing list