diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-11 14:41:54 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-11 14:41:54 (GMT) |
commit | 127e56e5e87e59cfb212d7bc3d7e70cd9f74d40d (patch) | |
tree | ea86c2432bdc8e65b4205527e850add55504e303 /Makefile.pre.in | |
parent | dc795b82aaa6943e1760ec34515d5dd82a57c4ca (diff) | |
download | cpython-127e56e5e87e59cfb212d7bc3d7e70cd9f74d40d.zip cpython-127e56e5e87e59cfb212d7bc3d7e70cd9f74d40d.tar.gz cpython-127e56e5e87e59cfb212d7bc3d7e70cd9f74d40d.tar.bz2 |
When frameworks are not enabled don't put an empty target in the Makefile.
Older make's can apparently choke on this.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index d872267..67446cdd 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -675,7 +675,7 @@ libainstall: all fi; \ done @if test -d $(LDLIBRARY); then :; else \ - if test -z "$(PYTHONFRAMEWORKDIR)"; then \ + if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \ $(INSTALL_DATA) $(LDLIBRARY) $(LIBPL)/$(LDLIBRARY) ; \ $(RANLIB) $(LIBPL)/$(LDLIBRARY) ; \ else \ @@ -736,9 +736,9 @@ RESSRCDIR=$(srcdir)/Mac/OSXResources/framework $(PYTHONFRAMEWORKDIR): $(RESSRCDIR)/Info.plist \ $(RESSRCDIR)/version.plist \ $(RESSRCDIR)/English.lproj/InfoPlist.strings - @if test -z "$(PYTHONFRAMEWORKDIR)"; then \ + @if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \ echo Not configured with --enable-framework; \ - exit; \ + exit 1; \ else true; \ fi $(INSTALL) -d -m $(DIRMODE) $(FRAMEWORKDEST)/Resources/English.lproj @@ -760,9 +760,9 @@ $(PYTHONFRAMEWORKDIR): $(RESSRCDIR)/Info.plist \ frameworkinstall: install frameworkinfrastructureinstall FRAMEWORKFINALDEST=$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION) frameworkinfrastructureinstall: $(LDLIBRARY) - @if test -z "$(PYTHONFRAMEWORKDIR)"; then \ + @if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \ echo Not configured with --enable-framework; \ - exit; \ + exit 1; \ else true; \ fi @for i in $(FRAMEWORKFINALDEST)/Resources/English.lproj $(FRAMEWORKFINALDEST)/lib; do\ |