~ chicken-core (chicken-5) 66fc534467ee9cc12f1824a365a62f005e80bf5c
commit 66fc534467ee9cc12f1824a365a62f005e80bf5c Author: felix <felix@z.(none)> AuthorDate: Fri Mar 25 19:48:24 2011 +0100 Commit: felix <felix@z.(none)> CommitDate: Fri Mar 25 19:48:24 2011 +0100 install-wrappers fix and error message diff --git a/rules.make b/rules.make index 521a8010..6aa3321c 100644 --- a/rules.make +++ b/rules.make @@ -420,8 +420,14 @@ install-other-files: $(INSTALL_PROGRAM) $(INSTALL_PROGRAM_FILE_OPTIONS) $(SRCDIR)setup.defaults "$(DESTDIR)$(IDATADIR)" install-wrappers: +ifeq ($(WRAPPERDIR),) + @echo + @echo Error: WRAPPERDIR is not set + @echo + @exit 1 +endif $(foreach prg, $(INSTALLED_PROGRAMS), \ - $(CSI) -s $(SRCDIR)scripts$(SEP)make-wrapper.scm $(prg) "$(WRAPPERDIR)" + $(CSI) -s $(SRCDIR)scripts$(SEP)make-wrapper.scm $(prg) "$(WRAPPERDIR)" $(NL)) uninstall: $(foreach prog,$(INSTALLED_PROGRAMS),\Trap