Next in thread → Next in month →

Re: [virtio-comment] [RFC PATCH 8/8] Makefile: add simple make automation with clean target

From
Michael S. Tsirkin <>
Date
2020-04-30T07:50:37+00:00
ID
Thread
Re: [virtio-comment] [RFC PATCH 8/8] Makefile: add simple make automation with clean target
On Fri, Mar 27, 2020 at 10:38:03AM +0000, Alex Bennée wrote:
> This will remove all intermediate files in the checkout.
> ---
>  Makefile | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100644 Makefile
> 
> diff --git a/Makefile b/Makefile
> new file mode 100644
> index 0000000..f11d871
> --- /dev/null
> +++ b/Makefile
> @@ -0,0 +1,17 @@
> +# -*- Mode: makefile -*-
> +#
> +# Basic Makefile to aid automation of document building
> +#
> +
> +.PHONY: help
> +help:
> +	@echo "Build the VIRTIO specification documents."
> +	@echo ""
> +	@echo "Possible operations are:"
> +	@echo
> +	@echo " $(MAKE) clean                Remove all intermediate files"
> +
> +
> +.PHONY: clean
> +clean:
> +	@rm -f (git ls-files --others --exclude-standard)

This makefile is not going to work in a tarball, so how about
just a shell script for now? E.g. makegitclean.sh?


> -- 
> 2.20.1
> 
> 
> This publicly archived list offers a means to provide input to the
> OASIS Virtual I/O Device (VIRTIO) TC.
> 
> In order to verify user consent to the Feedback License terms and
> to minimize spam in the list archive, subscription is required
> before posting.
> 
> Subscribe: 
> Unsubscribe: 
> List help: 
> List archive: https://lists.oasis-open.org/archives/virtio-comment/
> Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
> List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
> Committee: https://www.oasis-open.org/committees/virtio/
> Join OASIS: https://www.oasis-open.org/join/
Next in thread → Next in month →