diff options
-rw-r--r-- | Makefile.am | 44 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-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.am | 5 | ||||
-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.am | 12 | ||||
-rw-r--r-- | man/powwow.6.utf-8 (renamed from powwow.6.utf-8) | 0 | ||||
-rw-r--r-- | src/Makefile.am | 29 | ||||
-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/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/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/defines.h b/src/defines.h index 33a96ad..33a96ad 100644 --- a/defines.h +++ b/src/defines.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/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 |