* Move to GPL v3
[citadel.git] / gaim-citadel / pmfile
index b060c29cc679251619920c45399762ba7b9f233f..cd14c85369f7db3396c88932274dba2985d6d6c8 100644 (file)
@@ -1,7 +1,7 @@
--- citadel.c
+-- pmfile
 -- Gaim Citadel plugin.
 -- © 2006 David Given.
--- This code is licensed under the GPL v2. See the file COPYING in this
+-- This code is licensed under the GPL v3. See the file COPYING in this
 -- directory for the full license text.
 --
 -- $Id:pmfile 4326 2006-02-18 12:26:22Z hjalfi $
@@ -13,6 +13,8 @@ GLIBINCLUDES = "-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"
 LUAINCLUDES = "-I/usr/include/lua50"
 LUALIBRARIES = "-llualib50 -llua50"
 
+INSTALLTO = "%HOME%/.gaim"
+
 HOME = os.getenv("HOME")
 
 csharedlibrary = simple {
@@ -44,7 +46,7 @@ default = csharedlibrary {
        },
 
        install = {
-               pm.install("%HOME%/.gaim/plugins/citadel.so"),
-               pm.install("citadel.lua", "%HOME%/.gaim/plugindata/citadel.lua")
+               pm.install("%INSTALLTO%/plugins/citadel.so"),
+               pm.install("citadel.lua", "%INSTALLTO%/plugindata/citadel.lua")
        }
 }