diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -30,16 +30,20 @@ mods = $(filter-out %-build,\ .PHONY : all all : +.PHONY : commit +commit : distclean + git add -A + git commit -a + .SECONDARY: %/COPYING : COPYING %/; cp $< $@ %/configure : configure %/; cp $< $@ %/Makefile.in : Makefile.in %/; cp $< $@ -clean-mods = $(addprefix clean-,$(mods)) -distclean-mods = $(addprefix distclean-,$(mods)) +distclean-mods = $(addprefix distclean-,$(mods)) -.PHONY : distclean +.PHONY : distclean $(distclean-mods) distclean : $(distclean-mods) distclean-% : % %/ $(RM) -r $<-build/ @@ -57,10 +61,7 @@ complete-% : %/ cd $<; ../$(patsubst %-build,%/,$<)/configure $(MAKE) -C $< Makefiles -build-% : %-build complete-% %-build/Makefile - $(MAKE) -C $< -install-% : %-build build-% - $(MAKE) -C $< install -clean-% : %-build - $(MAKE) -C $< clean +build-% : %-build complete-% %-build/Makefile; $(MAKE) -C $< +install-% : %-build; $(MAKE) -C $< install +clean-% : %-build; $(MAKE) -C $< clean |