summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fb50a58..a41ee08 100644
--- a/Makefile
+++ b/Makefile
@@ -43,9 +43,12 @@ distclean-% : % %/
$(RM) -r $<-build/
$(RM) $</COPYING
$(RM) $</configure
- $(RM) $</Makefile.in
+ find $< -name Makefile.in -exec $(RM) '{}' \;
-complete-% : %/COPYING %/configure %/Makefile.in; :
+complete-% : %/
+ cp COPYING $<
+ cp configure $<
+ find $<* -type d -exec cp Makefile.in '{}' \;
%-build : %/; $(MKDIR) $@
%-build/Makefile : %-build %/configure