• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..04-Sep-2004-

Makefile.amH A D10-Feb-2001352 131

Makefile.inH A D04-Sep-20048.5 KiB339271

READMEH A D15-Oct-20001.1 KiB4331

STATUSH A D10-Feb-2001104 87

parse.cH A D18-Mar-20044 KiB16273

plugin_config.cH A D18-Mar-20045.3 KiB17688

plugin_config.hH A D18-Apr-20031.4 KiB4915

README

1Using the skeleton
2------------------
3
4#
5# ATTENTION: the shell code written below is just PSEUDO-code especially the
6# substitutions won't work out of the box.
7#
8
9You want to write a plugin for qmail-logfiles.
10
110. you have already installed autoconf/automake/libtool.
12
131. copy this directory to ./src/input/qmail
14$ mkdir ../qmail
15$ cp *.c *.h *.am ../qmail
16
172. edit the Makefile.am (replace every occurence of skeleton by qmail)
18$ cd ../qmail
19$ cat Makefile.am | sed "s/skeleton/qmail/" > Makefile.am.new
20$ cp Makefile.am.new Makefile.am
21
222a. remove this file from your directory :)
23$ rm README
24
253. add this directory the master Makefile.am
26$ cd ..
27$ cat Makefile.am | sed "/^SUBDIRS/s/$/ qmail/" > Makefile.am.new
28$ cp Makefile.am.new Makefile.am
29
304. edit the configure.in
31add src/input/qmail the list at the bottom (AC_OUTPUT)
32
335. rebuild the files
34$ autoheader
35$ automake
36$ autoconf
37$ configure <options>
38$ config.status
39
406. makefiles are now setup and you are ready to hack a new plugin.
41please remove the comments starting with C: from your new plugin.
42
43