aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 456938c..4238a2d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# -*- make -*-
# FILE: "/home/evmik/src/my_src/GradeBook/Makefile"
-# LAST MODIFICATION: "Wed, 25 Jan 2012 23:04:58 -0500 (evmik)"
+# LAST MODIFICATION: "Mon, 30 Jan 2012 11:09:22 -0500 (evmik)"
# (C) 2011 by Eugeniy Mikhailov, <evgmik@gmail.com>
# $Id:$
#
@@ -14,7 +14,8 @@ upload_location_code = physics.wm.edu:public_html/cgi-bin/
upload_location_styles = physics.wm.edu:public_html/
upload_location_icons = physics.wm.edu:public_html/icons/
-files4upload_code = ./GradeBook.tcl ./GradeBook_lib.tcl ./libBasicTableOperations.tcl ./gb_config.tcl
+cgi_code_files = ./GradeBook.tcl ./GradeBook_lib.tcl ./libBasicTableOperations.tcl
+files4upload_code = $(cgi_code_files) ./gb_config.tcl
files4upload_styles = ./GradeBook.css
files4upload_icons = $(wildcard ./icons/*.png)
@@ -40,6 +41,6 @@ GradeBook.css: GradeBook.scss
config: gb_config.tcl
-gb_config.tcl: gb_config.template
+gb_config.tcl: gb_config.template $(cgi_code_files)
sed s/__VERSION__/{$(GIT_VERSION)}/ < $< > $@