~ chicken-core (chicken-5) 5cd819d553c24b31f9d8f1557f3ce32ceb3401b1
commit 5cd819d553c24b31f9d8f1557f3ce32ceb3401b1 Author: Peter Bex <Peter.Bex@xs4all.nl> AuthorDate: Sun Sep 5 14:14:01 2010 +0200 Commit: Peter Bex <Peter.Bex@xs4all.nl> CommitDate: Sun Sep 5 14:14:01 2010 +0200 Do Not Repeat Yourself: Don't list the distfiles explicitly under "spotless" rule. Turns out that both "spotless" and "clean" (which "spotless" depends on) removed the setup-api.c and setup-download.c files. diff --git a/rules.make b/rules.make index c2be7345..270d5e95 100644 --- a/rules.make +++ b/rules.make @@ -669,7 +669,7 @@ setup-download.c: $(SRCDIR)setup-download.scm setup-api.c .PHONY: distfiles dist html -distfiles: library.c eval.c expand.c chicken-syntax.c chicken-ffi-syntax.c \ +DISTFILES = library.c eval.c expand.c chicken-syntax.c chicken-ffi-syntax.c \ data-structures.c ports.c files.c extras.c lolevel.c utils.c \ tcp.c srfi-1.c srfi-4.c srfi-13.c srfi-14.c srfi-18.c srfi-69.c \ posixunix.c posixwin.c regex.c scheduler.c profiler.c stub.c \ @@ -678,6 +678,8 @@ distfiles: library.c eval.c expand.c chicken-syntax.c chicken-ffi-syntax.c \ compiler-syntax.c scrutinizer.c unboxing.c support.c \ c-platform.c c-backend.c chicken-bug.c $(IMPORT_LIBRARIES:=.import.c) +distfiles: $(DISTFILES) + dist: distfiles CSI=$(CSI) $(CSI) -s $(SRCDIR)scripts$(SEP)makedist.scm --platform=$(PLATFORM) CHICKEN=$(CHICKEN) @@ -712,16 +714,7 @@ confclean: chicken-config.h chicken-defaults.h chicken-install.rc chicken-uninstall.rc spotless: distclean testclean - -$(REMOVE_COMMAND) $(REMOVE_COMMAND_OPTIONS) library.c eval.c data-structures.c \ - ports.c files.c extras.c lolevel.c utils.c chicken-syntax.c chicken-ffi-syntax.c \ - tcp.c srfi-1.c srfi-4.c srfi-13.c srfi-14.c srfi-18.c srfi-69.c expand.c \ - posixunix.c posixwin.c regex.c scheduler.c profiler.c stub.c \ - chicken-profile.c chicken-bug.c \ - csc.c csi.c chicken-install.c chicken-uninstall.c chicken-status.c \ - chicken.c batch-driver.c compiler.c optimizer.c compiler-syntax.c \ - scrutinizer.c support.c unboxing.c \ - c-platform.c c-backend.c setup-api.c setup-download.c \ - $(IMPORT_LIBRARIES:=.import.c) + -$(REMOVE_COMMAND) $(REMOVE_COMMAND_OPTIONS) $(DISTFILES) distclean: clean confcleanTrap