From: Jason Woofenden Date: Wed, 9 Dec 2009 20:54:25 +0000 (-0500) Subject: symlink to data dir so you can run the game from the build dir X-Git-Tag: 0.5.5~2 X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=commitdiff_plain;h=100fbcd4f3b72ae23a1676790a27c462b2203b1d symlink to data dir so you can run the game from the build dir --- diff --git a/Makefile.in b/Makefile.in index a481a50..9779ab2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -68,12 +68,17 @@ INSTALL_DATA := $(INSTALL) -m 644 .PHONY: mkinstalldirs rminstalldirs .PHONY: program program-clean install-program uninstall-program .PHONY: data data-clean install-data uninstall-data +.PHONY: build-dir-data-link .INTERMEDIATE: font_guts font_guts.pov all: program data -data: $(graphics) +data: $(graphics) build-dir-data-link + +# symbolic link to data dir so you can run the game from the build dir: +build-dir-data-link: + test -e data || ln -s $(srcdir)/data program: $(exe_name) @PACKAGE_TARNAME@.desktop