source: general/prog/unifdef.xml@ e962ced

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since e962ced was 2b2e5fda, checked in by Douglas R. Reno <renodr@…>, 15 months ago

Add unifdef into the book in support of WebKitGTK+.

  • Property mode set to 100644
File size: 3.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY unifdef-download-http "https://dotat.at/prog/unifdef/unifdef-&unifdef-version;.tar.gz">
8 <!ENTITY unifdef-download-ftp " ">
9 <!ENTITY unifdef-md5sum "b225312c110cd2600ca7166bd0419751">
10 <!ENTITY unifdef-size "88 KB">
11 <!ENTITY unifdef-buildsize "1.9 MB">
12 <!ENTITY unifdef-time "less than 0.1 SBU">
13]>
14
15<sect1 id="unifdef" xreflabel="unifdef-&unifdef-version;">
16 <?dbhtml filename="unifdef.html"?>
17
18 <title>unifdef-&unifdef-version;</title>
19
20 <indexterm zone="unifdef">
21 <primary sortas="a-unifdef">unifdef</primary>
22 </indexterm>
23
24 <sect2 role="package">
25 <title>Introduction to unifdef</title>
26
27 <para>
28 The <application>unifdef</application> package contains a utility that
29 is useful for removing preprocessor conditionals from code.
30 </para>
31
32 &lfs113_checked;
33
34 <bridgehead renderas="sect3">Package Information</bridgehead>
35 <itemizedlist spacing="compact">
36 <listitem>
37 <para>
38 Download (HTTP): <ulink url="&unifdef-download-http;"/>
39 </para>
40 </listitem>
41 <listitem>
42 <para>
43 Download (FTP): <ulink url="&unifdef-download-ftp;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download MD5 sum: &unifdef-md5sum;
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download size: &unifdef-size;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Estimated disk space required: &unifdef-buildsize;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated build time: &unifdef-time;
64 </para>
65 </listitem>
66 </itemizedlist>
67
68 <para condition="html" role="usernotes">
69 User Notes: <ulink url="&blfs-wiki;/unifdef"/>
70 </para>
71 </sect2>
72
73 <sect2 role="installation">
74 <title>Installation of unifdef</title>
75
76 <para>
77 Install <application>unifdef</application> by running the following
78 commands:
79 </para>
80
81<screen><userinput>make</userinput></screen>
82
83 <para>
84 To test the results, issue: <command>make test</command>.
85 </para>
86
87 <para>
88 Now, as the <systemitem class="username">root</systemitem> user:
89 </para>
90
91<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
92 </sect2>
93
94 <sect2 role="content">
95 <title>Contents</title>
96
97 <segmentedlist>
98 <segtitle>Installed Programs</segtitle>
99 <segtitle>Installed Libraries</segtitle>
100 <segtitle>Installed Directories</segtitle>
101
102 <seglistitem>
103 <seg>
104 unifdef and unifdefall
105 </seg>
106 <seg>
107 None
108 </seg>
109 <seg>
110 None
111 </seg>
112 </seglistitem>
113 </segmentedlist>
114
115 <variablelist>
116 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
117 <?dbfo list-presentation="list"?>
118 <?dbhtml list-presentation="table"?>
119
120 <varlistentry id="unifdef-prog">
121 <term><command>unifdef</command></term>
122 <listitem>
123 <para>
124 removes preprocessor conditionals from code
125 </para>
126 <indexterm zone="unifdef unifdef-prog">
127 <primary sortas="b-unifdef">unifdef</primary>
128 </indexterm>
129 </listitem>
130 </varlistentry>
131
132 <varlistentry id="unifdefall">
133 <term><command>unifdefall</command></term>
134 <listitem>
135 <para>
136 removes preprocessor conditionals from code across a whole tree
137 </para>
138 <indexterm zone="unifdef unifdefall">
139 <primary sortas="b-unifdefall">unifdefall</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143 </variablelist>
144 </sect2>
145</sect1>
Note: See TracBrowser for help on using the repository browser.