From f81a22c2a494408dad77528d631d6227a35e2f1f Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 18 Mar 2013 13:59:30 -0700 Subject: [PATCH] Automatically generate suitable .gitignore in packages directory Ignore built packages Signed-off-by: Keith Packard --- packages/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/Makefile b/packages/Makefile index bf8875b..841940d 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -17,4 +17,10 @@ FOOTPRINTS= \ .py.fp: python $*.py > $@ -all: $(FOOTPRINTS) \ No newline at end of file +all: $(FOOTPRINTS) .gitignore + +clean: + rm -f $(FOOTPRINTS) + +.gitignore: Makefile + for i in $@ $(FOOTPRINTS); do echo $$i; done > $@ \ No newline at end of file -- 2.47.2