From: Keith Packard Date: Mon, 18 Mar 2013 20:59:30 +0000 (-0700) Subject: Automatically generate suitable .gitignore in packages directory X-Git-Tag: telelco-v3.0~921^2 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f81a22c2a494408dad77528d631d6227a35e2f1f;p=hw%2Faltusmetrum Automatically generate suitable .gitignore in packages directory Ignore built packages Signed-off-by: Keith Packard --- 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