add .gitignore hack back to packages/ top level Makefile
authorBdale Garbee <bdale@gag.com>
Mon, 18 Mar 2013 21:23:17 +0000 (15:23 -0600)
committerBdale Garbee <bdale@gag.com>
Mon, 18 Mar 2013 21:23:17 +0000 (15:23 -0600)
packages/Makefile

index 4ca8b856ef23afa66e4ae915aab96de0e17e2371..ad7703c61d24b011cee7bc32fabcb728f8081a7e 100644 (file)
@@ -28,7 +28,7 @@ FOOTPRINTS= \
 BUILDDIRS=$(DIRS:%=build-%)
 CLEANDIRS=$(DIRS:%=clean-%)
 
-all: $(BUILDDIRS) $(FOOTPRINTS)
+all: $(BUILDDIRS) $(FOOTPRINTS) .gitignore
 $(DIRS): $(BUILDDIRS) 
 $(BUILDDIRS): 
        $(MAKE) -C $(@:build-%=%)
@@ -42,3 +42,7 @@ clean: $(CLEANDIRS)
 .PHONY: subdirs $(DIRS)
 .PHONY: subdirs $(BUILDDIRS)
 .PHONY: subdirs $(CLEANDIRS)
+
+.gitignore: Makefile
+       for i in $@ $(FOOTPRINTS); do echo $$i; done > $@
+