[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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: virtio-comment-subscribe@lists.oasis-open.org > Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org > List help: virtio-comment-help@lists.oasis-open.org > 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/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]