make/project.xml

changeset 1523
b5c32391802f
parent 1471
2309b553c604
child 1525
f675a4e99fb5
--- a/make/project.xml	Fri Nov 28 15:23:40 2025 +0100
+++ b/make/project.xml	Sun Nov 30 13:29:07 2025 +0100
@@ -1,35 +1,31 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="0.4" xmlns="http://unixwork.de/uwproj">
     <config>
+        <prefix/>
+        <exec-prefix/>
+        <libdir/>
+        <includedir/>
+        <var name="VERSION">3.2.0</var>
+        <var name="LIBVERSION">6.0.0</var>
+        <var name="LIBVERSION_MAJOR">6</var>
         <var name="root_dir" exec="true">pwd</var>
-        <var name="DOXYGEN" exec="true">command -v doxygen</var>
+        <var name="build_dir">\${root_dir}/build</var>
+        <var name="docs_dir">\${root_dir}/build/docs</var>
+        <var name="dist_dir">\${root_dir}/dist</var>
+        <var name="DOXYGEN" exec="true" option-help="path of the Doxygen executable">command -v doxygen</var>
+        <var name="MKDIR">/bin/mkdir -p</var>
+        <var name="RMFILE">/bin/rm -f</var>
+        <var name="RMDIR">/bin/rm -f -R</var>
+        <var name="COPYFILE">/bin/cp -f</var>
+        <var name="COPYALL">/bin/cp -f -R</var>
+        <var name="SYMLINK">/bin/ln -s</var>
     </config>
-
-    <dependency>
-        <make>
-            # library version
-            VERSION=3.2.0
-            LIBVERSION=6.0.0
-            LIBVERSION_MAJOR=6
-
-            # build directory structure !! do not change or override !!
-            root_dir=${root_dir}
-            build_dir=${root_dir}/build
-            docs_dir=${root_dir}/build/docs
-            dist_dir=${root_dir}/dist
-        </make>
-    </dependency>
-    
-    <dependency>
-        <make>
-            MKDIR=/bin/mkdir -p
-            RMFILE=/bin/rm -f
-            RMDIR=/bin/rm -f -R
-            COPYFILE=/bin/cp -f
-            COPYALL=/bin/cp -f -R
-            SYMLINK=/bin/ln -s
-        </make>
-    </dependency>
+    <config platform="bsd">
+        <var name="pkgconfigdir">\${exec_prefix}/libdata/pkgconfig</var>
+    </config>
+    <config not="bsd">
+        <var name="pkgconfigdir">\${libdir}/pkgconfig</var>
+    </config>
 
     <dependency platform="macos">
         <lang>c</lang>
@@ -77,7 +73,6 @@
 
     <dependency name="doxygen">
         <test>test -n "$DOXYGEN"</test>
-        <make>DOXYGEN=$DOXYGEN</make>
     </dependency>
 
     <dependency name="coverage" toolchain="gcc">

mercurial