]> git.tdb.fi Git - libs/net.git/commitdiff
Update Build and .gitignore files
authorMikko Rasa <tdb@tdb.fi>
Mon, 15 Oct 2012 10:25:32 +0000 (13:25 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 15 Oct 2012 10:28:23 +0000 (13:28 +0300)
.gitignore
Build

index 8c908ea71bc5589980b2f77b07df74473c130e74..9ef20183044254ef239d5cf99fdd60d262414f18 100644 (file)
@@ -1,7 +1,5 @@
-/.deps
-/.options.*
-/.profile
-/debug
+.config
+temp
 /httpget
 /libmspnet.a
 /libmspnet.so
@@ -9,5 +7,3 @@
 /mspnet.pc
 /netcat
 /pc-32-windows
-/release
-/temp
diff --git a/Build b/Build
index 01d3a842699b8f7ac2c705c7c9440b9981eb6df6..7e4a693b8b24858380839d03616bcb1c7c8039f0 100644 (file)
--- a/Build
+++ b/Build
@@ -1,7 +1,8 @@
 package "mspnet"
 {
+       require "sigc++-2.0";
        require "mspcore";
-       if "arch=win32"
+       if_arch "windows"
        {
                build_info
                {
@@ -9,23 +10,15 @@ package "mspnet"
                };
        };
 
-       headers "msp/net"
-       {
-               source "source/net";
-               install true;
-       };
-
-       headers "msp/http"
-       {
-               source "source/http";
-               install true;
-       };
-
        library "mspnet"
        {
                source "source/net";
                source "source/http";
                install true;
+               install_map
+               {
+                       map "source" "include/msp";
+               };
        };
 
        program "netcat"