aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am44
-rw-r--r--configure.ac2
-rw-r--r--doc/Config.demo (renamed from Config.demo)0
-rw-r--r--doc/Hacking (renamed from Hacking)0
-rw-r--r--doc/Makefile.am5
-rw-r--r--doc/README.follow (renamed from README.follow)0
-rw-r--r--doc/README.modules (renamed from README.modules)0
-rw-r--r--doc/README.term (renamed from README.term)0
-rw-r--r--doc/TODO (renamed from TODO)0
-rw-r--r--doc/powwow.doc (renamed from powwow.doc)0
-rw-r--r--doc/powwow.help (renamed from powwow.help)0
-rw-r--r--man/Makefile.am12
-rw-r--r--man/powwow.6.utf-8 (renamed from powwow.6.utf-8)0
-rw-r--r--src/Makefile.am29
-rw-r--r--src/beam.c (renamed from beam.c)0
-rw-r--r--src/beam.h (renamed from beam.h)0
-rw-r--r--src/catrw.c (renamed from catrw.c)0
-rw-r--r--src/cmd.c (renamed from cmd.c)0
-rw-r--r--src/cmd.h (renamed from cmd.h)0
-rw-r--r--src/cmd2.c (renamed from cmd2.c)0
-rw-r--r--src/cmd2.h (renamed from cmd2.h)0
-rw-r--r--src/defines.h (renamed from defines.h)0
-rw-r--r--src/edit.c (renamed from edit.c)0
-rw-r--r--src/edit.h (renamed from edit.h)0
-rw-r--r--src/eval.c (renamed from eval.c)0
-rw-r--r--src/eval.h (renamed from eval.h)0
-rw-r--r--src/feature/regex.h (renamed from feature/regex.h)0
-rw-r--r--src/follow.c (renamed from follow.c)0
-rw-r--r--src/list.c (renamed from list.c)0
-rw-r--r--src/list.h (renamed from list.h)0
-rw-r--r--src/log.c (renamed from log.c)0
-rw-r--r--src/log.h (renamed from log.h)0
-rw-r--r--src/main.c (renamed from main.c)0
-rw-r--r--src/main.h (renamed from main.h)0
-rw-r--r--src/map.c (renamed from map.c)0
-rw-r--r--src/map.h (renamed from map.h)0
-rw-r--r--src/plugtest.c (renamed from plugtest.c)0
-rw-r--r--src/powwow-movieplay.c (renamed from powwow-movieplay.c)0
-rw-r--r--src/powwow-muc.c (renamed from powwow-muc.c)0
-rw-r--r--src/ptr.c (renamed from ptr.c)0
-rw-r--r--src/ptr.h (renamed from ptr.h)0
-rw-r--r--src/tcp.c (renamed from tcp.c)0
-rw-r--r--src/tcp.h (renamed from tcp.h)0
-rw-r--r--src/tty.c (renamed from tty.c)0
-rw-r--r--src/tty.h (renamed from tty.h)0
-rw-r--r--src/utils.c (renamed from utils.c)0
-rw-r--r--src/utils.h (renamed from utils.h)0
47 files changed, 49 insertions, 43 deletions
diff --git a/Makefile.am b/Makefile.am
index c1e37e6..929b50b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,43 +1,3 @@
-# Default help file directory
-AM_CPPFLAGS=-D_XOPEN_SOURCE=700 -DPOWWOW_DIR=\"$(pkgdatadir)\" \
- -DPLUGIN_DIR=\"$(plugindir)\"
+SUBDIRS=src doc man
-bin_PROGRAMS = powwow powwow-muc powwow-movieplay
-powwow_SOURCES = beam.c cmd.c log.c edit.c cmd2.c eval.c \
- utils.c main.c tcp.c list.c map.c tty.c \
- ptr.c
-powwow_LDFLAGS = @dl_ldflags@
-powwowdir = $(pkgincludedir)
-powwow_HEADERS = beam.h cmd.h log.h edit.h cmd2.h eval.h \
- utils.h main.h tcp.h list.h map.h tty.h \
- ptr.h defines.h feature/regex.h
-powwow_muc_SOURCES = powwow-muc.c
-powwow_movieplay_SOURCES = powwow-movieplay.c
-
-install-exec-hook:
- (cd $(DESTDIR)$(bindir) && \
- rm -f powwow-movie2ascii$(EXEEXT) && \
- $(LN_S) powwow-movieplay$(EXEEXT) powwow-movie2ascii$(EXEEXT))
-
-noinst_PROGRAMS = catrw follow
-follow_SOURCES = follow.c
-catrw_SOURCES = catrw.c
-
-man_MANS = powwow.6
-pkgdata_DATA = powwow.doc powwow.help COPYING
-EXTRA_DIST = README README.follow README.term README.modules \
- TODO Hacking Config.demo \
- powwow.doc powwow.help powwow.6 plugtest.c debian/rules \
- debian/control debian/changelog powwow.6.utf-8
-
-CLEANFILES = powwow.6
-
-powwow.6: powwow.6.utf-8
-if MAN_PAGE_ENCODING_IS_UTF_8
- cp $< $@
-else
- iconv -f UTF-8 -t "$(MAN_PAGE_ENCODING)" < $< > $@
-endif
-
-plugtest.so: plugtest.c
- gcc -shared -o plugtest.so plugtest.c
+pkgdata_DATA = COPYING
diff --git a/configure.ac b/configure.ac
index cdd1d67..3798599 100644
--- a/configure.ac
+++ b/configure.ac
@@ -150,7 +150,7 @@ AC_C_CONST
# Checks for library functions.
AC_FUNC_MALLOC
-AC_OUTPUT(Makefile)
+AC_OUTPUT(Makefile src/Makefile doc/Makefile man/Makefile)
AC_OUTPUT
diff --git a/Config.demo b/doc/Config.demo
index 7eb537e..7eb537e 100644
--- a/Config.demo
+++ b/doc/Config.demo
diff --git a/Hacking b/doc/Hacking
index 2063884..2063884 100644
--- a/Hacking
+++ b/doc/Hacking
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..f5fc784
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,5 @@
+pkgdata_DATA = powwow.doc powwow.help
+EXTRA_DIST = README.follow README.term README.modules \
+ TODO Hacking Config.demo \
+ powwow.doc powwow.help
+
diff --git a/README.follow b/doc/README.follow
index 9ef923b..9ef923b 100644
--- a/README.follow
+++ b/doc/README.follow
diff --git a/README.modules b/doc/README.modules
index 8f8eae8..8f8eae8 100644
--- a/README.modules
+++ b/doc/README.modules
diff --git a/README.term b/doc/README.term
index 6dfad6c..6dfad6c 100644
--- a/README.term
+++ b/doc/README.term
diff --git a/TODO b/doc/TODO
index 6112fe9..6112fe9 100644
--- a/TODO
+++ b/doc/TODO
diff --git a/powwow.doc b/doc/powwow.doc
index 0404328..0404328 100644
--- a/powwow.doc
+++ b/doc/powwow.doc
diff --git a/powwow.help b/doc/powwow.help
index 82c7399..82c7399 100644
--- a/powwow.help
+++ b/doc/powwow.help
diff --git a/man/Makefile.am b/man/Makefile.am
new file mode 100644
index 0000000..7cf418d
--- /dev/null
+++ b/man/Makefile.am
@@ -0,0 +1,12 @@
+man_MANS = powwow.6
+EXTRA_DIST = powwow.6.utf-8
+
+CLEANFILES = powwow.6
+
+powwow.6: powwow.6.utf-8
+if MAN_PAGE_ENCODING_IS_UTF_8
+ cp $< $@
+else
+ iconv -f UTF-8 -t "$(MAN_PAGE_ENCODING)" < $< > $@
+endif
+
diff --git a/powwow.6.utf-8 b/man/powwow.6.utf-8
index 6100ccf..6100ccf 100644
--- a/powwow.6.utf-8
+++ b/man/powwow.6.utf-8
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..caab15c
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,29 @@
+# Default help file directory
+AM_CPPFLAGS=-D_XOPEN_SOURCE=700 -DPOWWOW_DIR=\"$(pkgdatadir)\" \
+ -DPLUGIN_DIR=\"$(plugindir)\"
+
+bin_PROGRAMS = powwow powwow-muc powwow-movieplay
+powwow_SOURCES = beam.c cmd.c log.c edit.c cmd2.c eval.c \
+ utils.c main.c tcp.c list.c map.c tty.c \
+ ptr.c
+powwow_LDFLAGS = @dl_ldflags@
+powwowdir = $(pkgincludedir)
+powwow_HEADERS = beam.h cmd.h log.h edit.h cmd2.h eval.h \
+ utils.h main.h tcp.h list.h map.h tty.h \
+ ptr.h defines.h feature/regex.h
+powwow_muc_SOURCES = powwow-muc.c
+powwow_movieplay_SOURCES = powwow-movieplay.c
+
+install-exec-hook:
+ (cd $(DESTDIR)$(bindir) && \
+ rm -f powwow-movie2ascii$(EXEEXT) && \
+ $(LN_S) powwow-movieplay$(EXEEXT) powwow-movie2ascii$(EXEEXT))
+
+noinst_PROGRAMS = catrw follow
+follow_SOURCES = follow.c
+catrw_SOURCES = catrw.c
+
+EXTRA_DIST = plugtest.c
+
+plugtest.so: plugtest.c
+ gcc -shared -o plugtest.so plugtest.c
diff --git a/beam.c b/src/beam.c
index cff503d..cff503d 100644
--- a/beam.c
+++ b/src/beam.c
diff --git a/beam.h b/src/beam.h
index 84189d9..84189d9 100644
--- a/beam.h
+++ b/src/beam.h
diff --git a/catrw.c b/src/catrw.c
index 40d06e3..40d06e3 100644
--- a/catrw.c
+++ b/src/catrw.c
diff --git a/cmd.c b/src/cmd.c
index f11dd53..f11dd53 100644
--- a/cmd.c
+++ b/src/cmd.c
diff --git a/cmd.h b/src/cmd.h
index 74cf53f..74cf53f 100644
--- a/cmd.h
+++ b/src/cmd.h
diff --git a/cmd2.c b/src/cmd2.c
index dbd264a..dbd264a 100644
--- a/cmd2.c
+++ b/src/cmd2.c
diff --git a/cmd2.h b/src/cmd2.h
index 96cb067..96cb067 100644
--- a/cmd2.h
+++ b/src/cmd2.h
diff --git a/defines.h b/src/defines.h
index 33a96ad..33a96ad 100644
--- a/defines.h
+++ b/src/defines.h
diff --git a/edit.c b/src/edit.c
index bcfab21..bcfab21 100644
--- a/edit.c
+++ b/src/edit.c
diff --git a/edit.h b/src/edit.h
index b3b5a50..b3b5a50 100644
--- a/edit.h
+++ b/src/edit.h
diff --git a/eval.c b/src/eval.c
index 1a64108..1a64108 100644
--- a/eval.c
+++ b/src/eval.c
diff --git a/eval.h b/src/eval.h
index d717103..d717103 100644
--- a/eval.h
+++ b/src/eval.h
diff --git a/feature/regex.h b/src/feature/regex.h
index d630b99..d630b99 100644
--- a/feature/regex.h
+++ b/src/feature/regex.h
diff --git a/follow.c b/src/follow.c
index 09456c9..09456c9 100644
--- a/follow.c
+++ b/src/follow.c
diff --git a/list.c b/src/list.c
index 2652bda..2652bda 100644
--- a/list.c
+++ b/src/list.c
diff --git a/list.h b/src/list.h
index c336049..c336049 100644
--- a/list.h
+++ b/src/list.h
diff --git a/log.c b/src/log.c
index b831b6f..b831b6f 100644
--- a/log.c
+++ b/src/log.c
diff --git a/log.h b/src/log.h
index a5822b4..a5822b4 100644
--- a/log.h
+++ b/src/log.h
diff --git a/main.c b/src/main.c
index 28d1592..28d1592 100644
--- a/main.c
+++ b/src/main.c
diff --git a/main.h b/src/main.h
index e76f7cb..e76f7cb 100644
--- a/main.h
+++ b/src/main.h
diff --git a/map.c b/src/map.c
index 7fd9b56..7fd9b56 100644
--- a/map.c
+++ b/src/map.c
diff --git a/map.h b/src/map.h
index 49abc1f..49abc1f 100644
--- a/map.h
+++ b/src/map.h
diff --git a/plugtest.c b/src/plugtest.c
index 72b6d38..72b6d38 100644
--- a/plugtest.c
+++ b/src/plugtest.c
diff --git a/powwow-movieplay.c b/src/powwow-movieplay.c
index 91854b3..91854b3 100644
--- a/powwow-movieplay.c
+++ b/src/powwow-movieplay.c
diff --git a/powwow-muc.c b/src/powwow-muc.c
index aade7f0..aade7f0 100644
--- a/powwow-muc.c
+++ b/src/powwow-muc.c
diff --git a/ptr.c b/src/ptr.c
index 5878cd4..5878cd4 100644
--- a/ptr.c
+++ b/src/ptr.c
diff --git a/ptr.h b/src/ptr.h
index 2a19843..2a19843 100644
--- a/ptr.h
+++ b/src/ptr.h
diff --git a/tcp.c b/src/tcp.c
index de54a87..de54a87 100644
--- a/tcp.c
+++ b/src/tcp.c
diff --git a/tcp.h b/src/tcp.h
index 550b42a..550b42a 100644
--- a/tcp.h
+++ b/src/tcp.h
diff --git a/tty.c b/src/tty.c
index 104c780..104c780 100644
--- a/tty.c
+++ b/src/tty.c
diff --git a/tty.h b/src/tty.h
index a4965b6..a4965b6 100644
--- a/tty.h
+++ b/src/tty.h
diff --git a/utils.c b/src/utils.c
index f6582ef..f6582ef 100644
--- a/utils.c
+++ b/src/utils.c
diff --git a/utils.h b/src/utils.h
index f5b8704..f5b8704 100644
--- a/utils.h
+++ b/src/utils.h