[Commits] [svn:einsteintoolkit] www/about/gallery/gw150914/ (Rev. 1518)

barry.wardell at gmail.com barry.wardell at gmail.com
Sun Jun 5 17:04:03 CDT 2016


User: barry.wardell
Date: 2016/06/05 05:04 PM

Modified:
 /about/gallery/gw150914/
  Makefile

Log:
 gw150914: Fix logic in Makefile

File Changes:

Directory: /about/gallery/gw150914/
===================================

File [modified]: Makefile
Delta lines: +5 -1
===================================================================
--- about/gallery/gw150914/Makefile	2016-06-05 22:03:59 UTC (rev 1517)
+++ about/gallery/gw150914/Makefile	2016-06-05 22:04:03 UTC (rev 1518)
@@ -3,10 +3,14 @@
 
 -include make.conf
 
+ifdef SIMULATIONS_DIRECTORY
+PLOTFLAGS = --simulations-directory $(SIMULATIONS_DIRECTORY)
+endif
+
 all: $(PLOTS)
 
 $(PLOTS): %.png : %.m
-	MathematicaScript -script $< --simulations-directory $(SIMULATIONS_DIRECTORY)
+	MathematicaScript -script $< $(PLOTFLAGS)
 
 clean:
 	rm -f $(PLOTS)



More information about the Commits mailing list