Fixes bug 164362: make clean deletes scheme/last-revision

This commit is contained in:
Abdulaziz Ghuloum 2007-11-21 16:45:27 -05:00
parent 91c365d9a6
commit d314bacc24
3 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,8 @@ ikarus.config.ss: Makefile last-revision
echo '(define ikarus-revision "$(shell cat last-revision)")' >>$@ echo '(define ikarus-revision "$(shell cat last-revision)")' >>$@
echo '(define ikarus-lib-dir "$(pkglibdir)")' >>$@ echo '(define ikarus-lib-dir "$(pkglibdir)")' >>$@
CLEANFILES=$(nodist_pkglib_DATA) ikarus.config.ss last-revision CLEANFILES=$(nodist_pkglib_DATA) ikarus.config.ss
MAINTAINERCLEANFILES=last-revision
ikarus.boot: $(EXTRA_DIST) ikarus.config.ss ikarus.boot: $(EXTRA_DIST) ikarus.config.ss
../src/ikarus -b ./ikarus.boot.orig --r6rs-script makefile.ss ../src/ikarus -b ./ikarus.boot.orig --r6rs-script makefile.ss

View File

@ -184,7 +184,8 @@ EXTRA_DIST = ikarus.boot.orig ikarus.enumerations.ss \
ikarus/intel-assembler.ss ikarus/fasl/write.ss \ ikarus/intel-assembler.ss ikarus/fasl/write.ss \
unicode/unicode-char-cases.ss unicode/unicode-charinfo.ss unicode/unicode-char-cases.ss unicode/unicode-charinfo.ss
revno = "$(shell sed 's/ .*//' ../.bzr/branch/last-revision)" revno = "$(shell sed 's/ .*//' ../.bzr/branch/last-revision)"
CLEANFILES = $(nodist_pkglib_DATA) ikarus.config.ss last-revision CLEANFILES = $(nodist_pkglib_DATA) ikarus.config.ss
MAINTAINERCLEANFILES = last-revision
all: all-am all: all-am
.SUFFIXES: .SUFFIXES:
@ -299,6 +300,7 @@ distclean-generic:
maintainer-clean-generic: maintainer-clean-generic:
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild." @echo "it deletes files that may require special tools to rebuild."
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am clean: clean-am
clean-am: clean-generic mostlyclean-am clean-am: clean-generic mostlyclean-am

View File

@ -1 +1 @@
1103 1104