From 16eff6c6f90e5eff3b96e03284f11bb9af122024 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 24 Oct 2012 18:24:23 +0000 Subject: on MinGW, move media_install symlinking to the Inno Setup packaging: MinGW's ln is cp, so you can't ln a file that doesn't exist svn path=/trunk/; revision=16488 --- doc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/Makefile b/doc/Makefile index f802ba88..149f24f6 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -105,6 +105,10 @@ media_install: $(pddocdir) install -d $(DESTDIR)$(pddocdir)/$(MEDIA_NAME) install -p $(doc_src)/media/*.* \ $(DESTDIR)$(pddocdir)/$(MEDIA_NAME) +# ln is cp on MinGW, so these won't work since the target files don't exist at +# the time that the media_install target is generally run. For MinGW, this is +# instead handled in packages/win32_inno/pd-inno.iss.in +ifneq (MINGW,$(findstring MINGW,$(UNAME))) # random sound files ln -s ../../doc/sound/bell.aiff \ $(DESTDIR)$(pddocdir)/$(MEDIA_NAME)/bell.aiff @@ -127,6 +131,7 @@ media_install: $(pddocdir) $(DESTDIR)$(pddocdir)/$(MEDIA_NAME)/homer.avi ln -s ../../extra/Gem/examples/data/anim-1.mov \ $(DESTDIR)$(pddocdir)/$(MEDIA_NAME)/anim-1.mov +endif media_clean: -rm -f -- $(DESTDIR)$(pddocdir)/$(MEDIA_NAME)/*.* -- cgit v1.2.1