Remove ancient trunk folder from svn repository
[synfig.git] / synfig-core / src / modules / template.nsh
diff --git a/synfig-core/src/modules/template.nsh b/synfig-core/src/modules/template.nsh
new file mode 100644 (file)
index 0000000..d702aa5
--- /dev/null
@@ -0,0 +1,21 @@
+; The stuff to install
+Section "@MODNAME@" Sec_@MODNAME@
+
+;  SectionIn RO
+  
+  ; Set output path to the installation directory.
+  SetOutPath "$INSTDIR\lib\synfig\modules"
+  
+  ; Put file there
+  File /oname=@MODNAME@.dll "src\modules\@MODNAME@\.libs\lib@MODNAME@.dll"
+
+
+  FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
+  FileSeek $0 0 END
+  FileWrite $0 "@MODNAME@"
+  FileWriteByte $0 "13"
+  FileWriteByte $0 "10"
+  FileClose $0
+
+SectionEnd
+