projects
/
hw
/
altusmetrum
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc8ba65
)
Automatically generate suitable .gitignore in packages directory
author
Keith Packard
<keithp@keithp.com>
Mon, 18 Mar 2013 20:59:30 +0000
(13:59 -0700)
committer
Keith Packard
<keithp@keithp.com>
Mon, 18 Mar 2013 20:59:30 +0000
(13:59 -0700)
Ignore built packages
Signed-off-by: Keith Packard <keithp@keithp.com>
packages/Makefile
patch
|
blob
|
history
diff --git
a/packages/Makefile
b/packages/Makefile
index bf8875b0606dadd672fcbd12d67bbb3dd3dc63f5..841940d2f6dd04793ef5eda95504f74adc9959da 100644
(file)
--- 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