X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/blobdiff_plain/ee599f5566c155b4decd9c77bfa4d6212f20891e..206212ca161b23aece16795f0b4e61a133ba7a6a:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 2889c16..e9d4aa4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,5 @@ ## -*-makefile-*- ## -## $Id: Makefile.am,v 1.7 2003/11/29 20:36:07 mdw Exp $ -## ## Makefile for fw ## ## (c) 1999 Mark Wooding @@ -15,53 +13,43 @@ ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. -## +## ## `fw' is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. -## +## ## You should have received a copy of the GNU General Public License ## along with `fw'; if not, write to the Free Software Foundation, ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -##----- Revision history ---------------------------------------------------- -## -## $Log: Makefile.am,v $ -## Revision 1.7 2003/11/29 20:36:07 mdw -## Privileged outgoing connections. -## -## Revision 1.6 2003/11/25 14:08:23 mdw -## Debianization. Socket target options. Internet binding. -## -## Revision 1.5 1999/11/11 19:08:27 mdw -## Build separately from mLib. -## -## Revision 1.4 1999/10/10 16:47:16 mdw -## Moved some files to mLib. -## -## Revision 1.3 1999/07/26 23:30:06 mdw -## Lots of changes to source files for new design. -## -## Revision 1.2 1999/07/03 13:53:27 mdw -## Install and distribute new manual page. -## -## Revision 1.1.1.1 1999/07/01 08:56:23 mdw -## Initial revision. -## - AUTOMAKE_OPTIONS = foreign bin_PROGRAMS = fw man_MANS = fw.1 EXTRA_DIST = \ - $(man_MANS) \ + fw.1.in GRAMMAR \ + make-manpage \ debian/changelog debian/copyright debian/control debian/rules +BUILT_SOURCES = mantext.c + +$(srcdir)/GRAMMAR: fw.1.in make-manpage + perl $(srcdir)/make-manpage text <$(srcdir)/fw.1.in >$@.new + mv $@.new $@ + +fw.1: fw.1.in make-manpage + perl $(srcdir)/make-manpage man <$(srcdir)/fw.1.in >$@.new + mv $@.new $@ + +mantext.c: fw.1.in make-manpage + perl $(srcdir)/make-manpage c <$(srcdir)/fw.1.in >$@.new + mv $@.new $@ + fw_SOURCES = \ - chan.c conf.c endpt.c fw.c reffd.c scan.c \ - chan.h conf.h endpt.h fw.h reffd.h scan.h \ + chan.c conf.c endpt.c fw.c mantext.c reffd.c scan.c \ + chan.h conf.h endpt.h fw.h mantext.h reffd.h scan.h \ \ source.c source.h target.h \ exec.c file.c socket.c \ @@ -74,4 +62,7 @@ fw_SOURCES = \ acl.c fattr.c identify.c privconn.c \ acl.h fattr.h identify.h privconn.h rlimits.h +CLEANFILES = $(BUILT_SOURCES) fw.1 +MAINTAINERCLEANFILES = $(srcdir)/GRAMMAR + ##----- That's all, folks ---------------------------------------------------