Compiling xmlfy |
xmlfy is written in generic C and uses as few external libraries as possible so that it remains as portable as possible.
The compiler of choice is gcc but most ANSI compatible C compilers should also work.
Prepare
Un*x compile
% cd xmlfy-<version> % make clean % make all
Win32 compile
The author only caters for a Microsoft Visual C/C++ compilation at the command line.
C:> CD xmlfy-<version>\xmlfy C:> NMAKE /f Makefile_Win32 clean all
Testing
% make test
Building a distribution
% make dist
Installing
To install a native xmlfy package please refer to the Installation section in the main documentation.
% make install
or
% make DESTDIR=<root_path> bindir=<bin_path> mandir=<man_path> install
Where:
<root_path> = Root path prefix for bindir and mandir. Defaults to empty string
<bin_path> = The path to the bin directory. Defaults to /usr/bin
<man_path> = The path to the man directory. Defaults to /usr/share/man