X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=Makefile.in;h=4e20fbb6824cdebd152a07eb493173264905109f;hp=a481a50cfd90f5e4a670bebc9925d8b0a61cd5ba;hb=bb8c494ed48df53e05d317ca1a6b88885f9f3ea8;hpb=f75a8e3e8be8bd5762cb8df703890b19d0f91b7f diff --git a/Makefile.in b/Makefile.in index a481a50..4e20fbb 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 @@ -119,7 +124,7 @@ clean: program-clean distclean: clean rm -f Makefile config.h config.log config.status -maintainer-clean: program-clean +maintainer-clean: distclean @echo 'This command is intended for maintainers to use; it' @echo 'deletes files that may need special tools to rebuild.' rm -f $(graphics) font_guts font_guts.pov