Quellcode durchsuchen

*** empty log message ***

David Rose vor 25 Jahren
Ursprung
Commit
77dea4e5e1
3 geänderte Dateien mit 28 neuen und 2 gelöschten Zeilen
  1. 8 0
      dtool/pptempl/Template.gmsvc.pp
  2. 10 1
      dtool/pptempl/Template.msvc.pp
  3. 10 1
      dtool/pptempl/Template.unix.pp

+ 8 - 0
dtool/pptempl/Template.gmsvc.pp

@@ -735,6 +735,14 @@ $[install_config_dir]/$[file] : $[file]
 	cp -f $[local] $[dest]
 #end file
 
+// Finally, all the special targets.  These are commands that just need
+// to be invoked; we don't pretend to know what they are.
+#forscopes special_target
+$[TARGET] :
+	$[COMMAND]
+
+#end special_target
+
 
 // Finally, the rules to freshen the Makefile itself.
 Makefile : $[SOURCE_FILENAME]

+ 10 - 1
dtool/pptempl/Template.msvc.pp

@@ -166,7 +166,8 @@
     $[if $[so_sources],$[so_dir]] \
     $[if $[st_sources],$[st_dir]] \
     $[sort $[lib_targets] $[static_lib_targets] $[bin_targets]] \
-    $[deferred_objs]
+    $[deferred_objs] \
+    $[TARGET(special_target)]
 all : $[all_targets]
 
 // The 'test' rule makes all the test_bin_targets.
@@ -712,6 +713,14 @@ $[install_config_dir]\$[file] : $[file]
 	copy $[local] $[dest]
 #end file
 
+// Finally, all the special targets.  These are commands that just need
+// to be invoked; we don't pretend to know what they are.
+#forscopes special_target
+$[TARGET] :
+	$[COMMAND]
+
+#end special_target
+
 
 // Finally, the rules to freshen the Makefile itself.
 Makefile : $[SOURCE_FILENAME]

+ 10 - 1
dtool/pptempl/Template.unix.pp

@@ -149,7 +149,8 @@
     $[if $[dep_sources],$[DEPENDENCY_CACHE_FILENAME]] \
     $[if $[so_sources],$[so_dir]] \
     $[if $[st_sources],$[st_dir]] \
-    $[sort $[lib_targets] $[static_lib_targets] $[bin_targets]]
+    $[sort $[lib_targets] $[static_lib_targets] $[bin_targets]] \
+    $[TARGET(special_target)]
 all : $[all_targets]
 
 // The 'test' rule makes all the test_bin_targets.
@@ -673,6 +674,14 @@ $[install_config_dir]/$[file] : $[file]
 	$[INSTALL]
 #end file
 
+// Finally, all the special targets.  These are commands that just need
+// to be invoked; we don't pretend to know what they are.
+#forscopes special_target
+$[TARGET] :
+	$[COMMAND]
+
+#end special_target
+
 
 // Finally, the rules to freshen the Makefile itself.
 Makefile : $[SOURCE_FILENAME]