Browse Source

fix "make install" for palettes

David Rose 21 years ago
parent
commit
48a56fe67a
1 changed files with 4 additions and 2 deletions
  1. 4 2
      dtool/pptempl/Template.models.pp

+ 4 - 2
dtool/pptempl/Template.models.pp

@@ -587,7 +587,9 @@ $[TAB]rm -f $[files]
 
 
 all : egg pal repal $[subdirs]
 all : egg pal repal $[subdirs]
 
 
-#define sub_targets egg flt lwo maya soft bam pal clean-bam clean-pal clean cleanall unpack-soft install-bam install-other install uninstall-bam uninstall-other uninstall
+install : all $[subdirs:%=install-%]
+
+#define sub_targets egg flt lwo maya soft bam pal clean-bam clean-pal clean cleanall unpack-soft install-bam install-other uninstall-bam uninstall-other uninstall
 
 
 // Define the rules to propogate these targets to the Makefile within
 // Define the rules to propogate these targets to the Makefile within
 // each directory.
 // each directory.
@@ -660,7 +662,7 @@ $[TAB]cd ./$[RELDIR] && $(MAKE) all
 
 
 // Define the rules to propogate these targets to the Makefile within
 // Define the rules to propogate these targets to the Makefile within
 // each directory.
 // each directory.
-#foreach target $[sub_targets]
+#foreach target install $[sub_targets]
   #formap dirname subdirs
   #formap dirname subdirs
 $[target]-$[dirname] :
 $[target]-$[dirname] :
 $[TAB]cd ./$[RELDIR] && $(MAKE) $[target]
 $[TAB]cd ./$[RELDIR] && $(MAKE) $[target]