* FHS
authorjoey <joey@a4a2c43b-8ac3-0310-8836-e0e880c912e2>
Sat, 11 Sep 1999 04:31:26 +0000 (04:31 +0000)
committerjoey <joey@a4a2c43b-8ac3-0310-8836-e0e880c912e2>
Sat, 11 Sep 1999 04:31:26 +0000 (04:31 +0000)
Makefile
debian/changelog
debian/control
debian/rules
filters.6

index 7600f973b3355878e5fe9f77d2dbad9baf9a314b..8ecd83304d00d43776e5b7e64ff29b3534b86df8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,27 +2,25 @@
 
 LEX     = flex
 
-ALL     = jive valspeak nyc cockney fin biffa ken aust drawl \
-               kraut newspeak chef mb censor fudd moo buck \
-               jethro b1ff
-OTHER   = ky00te
+ALL     = jethro kraut
+OTHER   = eleet b1ff chef jibberish upside-down
 
 all:   $(OTHER) $(ALL)
 
 install:       $(ALL) $(OTHER)
        install -d $(PREFIX)/usr/games
-       install -s $(ALL) $(OTHER) $(PREFIX)/usr/games/
-       install -d $(PREFIX)/usr/man/man6
-       install -m 0644 filters.6 $(PREFIX)/usr/man/man6
-       cd $(PREFIX)/usr/man/man6 && \
+       install $(ALL) $(OTHER) $(PREFIX)/usr/games/
+       install -d $(PREFIX)/usr/share/man/man6
+       install -m 0644 filters.6 $(PREFIX)/usr/share/man/man6
+       cd $(PREFIX)/usr/share/man/man6 && \
                $(foreach prog,$(ALL) $(OTHER),ln -s filters.6 $(prog).6;)
 
 samples:       $(ALL) $(OTHER)
-       echo $(ALL) $(OTHER) |xargs -n 1 sh makesample.sh
+       -rm -f SAMPLES
+       PATH=. echo $(ALL) $(OTHER) |xargs -n 1 sh makesample.sh
 
 clean:
        $(RM) -f core *.o *~ $(ALL) *.c SAMPLES
-       cd ky00te.dir; make clean       
 
 .SUFFIXES: .l
 
@@ -37,3 +35,7 @@ clean:
 
 .dir:  
        cd $<; make
+
+kraut:
+       cd kraut.dir && lex kraut.l
+       cd kraut.dir && cc kraut.c lex.yy.c -o ../kraut
index 10a237d3995a1f8a7a00fee482ca2fe0badec85e..23546395ea9469b423351617debbd6ed38c3fd0a 100644 (file)
@@ -1,6 +1,6 @@
 filters (2.6) unstable; urgency=low
 
-  * 
+  * FHS
 
  -- Joey Hess <joeyh@master.debian.org>  Fri, 10 Sep 1999 21:25:47 -0700
 
index f4871da0347e07035e682d6562562d269ab013c7..652e390f2183e49d7b8a3c48a29aec71f518138e 100644 (file)
@@ -2,12 +2,11 @@ Source: filters
 Section: games
 Priority: optional
 Maintainer: Joey Hess <joeyh@master.debian.org>
-Standards-Version: 2.1.1.0
+Standards-Version: 3.0.1.1
 
 Package: filters
 Architecture: any
 Depends: ${shlibs:Depends}
 Description: a collection of filters, including B1FF and the swedish chef
  A collection of filters to do all sorts of strange things to text.
- This includes such favorites as B1FF and the swedish chef, as well as lots
- of other filters.
+ This includes such favorites as B1FF and the swedish chef.
index 101fcb36642e46ada6cdeb6f30666b2cf78164bc..78fd8eb6e518e8450bfd447d0fb901ff335429ba 100755 (executable)
 #!/usr/bin/make -f
-##############################################################################
-# Generic debian/rules file. Based on:
-#
-#> Sample debian.rules file - for GNU Hello (1.3).
-#> Copyright 1994,1995 by Ian Jackson.
-#> I hereby give you perpetual unlimited permission to copy,
-#> modify and relicense this file, provided that you do not remove
-#> my name from the file itself.  (I assert my moral right of
-#> paternity under the Copyright, Designs and Patents Act 1988.)
-#
-# Heavily modified by Joey Hess <joeyh@master.debian.org>
-#
-##############################################################################
-#
-# NOTE: You shouldn't have to edit this file. Edit debian/config instead.
-# If you must edit this file to get your package to build properly, then
-# I have failed. Let me know; mail me.
-#
-# (Currently not handled: multiple binary packages from 1 source package,
-# and binary-indep rule.)
-#
-# NOTE: This file is designed so it doesn't need to be run as root. For
-# actions that require that the user be root, the root password will be
-# prompted for, if you're not already root.
-#
-##############################################################################
-#
-# Changelog:
-# * Fakeroot and sudo fixes.
-# * Run dpkg-gencontrol after debstd, and delete substvars during clean.
-# * Clean up junk files in subdirs.
-# * Modifications for multiple binary package support.
-# * Call debstd after fixing file perms.
-# * Don't pass package name to debstd + fixes for multi binary packages. 
-# * Use build-stamp instead of build.
-# * New email address.
-# * Added changelog.
-#
-##############################################################################
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
 
-# Include config file.
-include debian/config
-
-# Generate a makefile (via configure scriopt or xmkmf).
-makefile-stamp:
-  ifeq ($(strip $(use_imakefile)),y)
-       xmkmf -a
-  endif 
-       $(use_configure)
-       touch makefile-stamp
-
-# Preserve some files that may get deleted/overwritten/modified otherwise.
-preserve-stamp:
-  ifneq ($(strip $(preserve_files)),)
-       $(foreach file,$(preserve_files),cp $(file) $(file).preserved ;)
-  endif
-       touch preserve-stamp
-
-build-stamp: preserve-stamp makefile-stamp
-       $(checkdir)
-       $(build_command)
-       touch build-stamp
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
 build: build-stamp
+build-stamp:
+       dh_testdir
+       $(MAKE)
+       $(MAKE) samples
+       touch build-stamp
 
-clean: preserve-stamp makefile-stamp
-       $(checkdir)
-  # Do actual cleaning up here.
-       -rm -f build-stamp
-       $(clean_command)
-       -find . -name '\#*\#' -o -name '*~' -o -name 'DEADJOE' -exec rm -f {} \;
-       -rm -f debian/files* debian/substvars debian/*.substvars $(clean_files)
-       $(clean_tmp)
-  # Remove Makefile that xmkmf creates.
-  ifeq ($(strip $(use_imakefile)),y)
-       -rm -f Makefile
-  endif
-  # If we preserved some files, we need to restore them now.
-  ifneq ($(strip $(preserve_files)),)
-       $(foreach file,$(preserve_files),mv -f $(file).preserved $(file); )
-  endif
-       -rm -f preserve-stamp makefile-stamp
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+       -$(MAKE) -i clean
+       dh_clean
 
 # Build architecture-independent files here.
-# (not yet set up to be used)
 binary-indep: build
-       $(checkdir)
+# We have nothing to do by default.
 
 # Build architecture-dependent files here.
 binary-arch: build
-       $(checkdir)
-       $(clean_tmp)
-       $(install_command)
-  # Set permissions and check package for problems, then build package.
-       @if [ "`whoami`" != root ]; then \
-               echo -e "\n ** Enter root password to set file permissions."; \
-               sudo debian/rules setperms; \
-       else \
-               debian/rules setperms; \
-       fi
-
-# This must be run suid root, it sets the file permissions in debian/tmp
-setperms:
-       chown -R root.root debian/tmp
-       chmod -R g-ws debian/tmp
-  # Debstd handles lots of nasty details. This requires that the debmake
-  # package is installed.
-       -debstd $(debstd) $(docs)
-       dpkg-gencontrol -p$(package)
-       $(ch_commands)
-       dpkg --build debian/tmp ..
-
-define checkdir
-       @test -e $(test_file) -a -f debian/rules || (echo -e "\n\
-       ** \"$(test_file)\" or \"debian/rules\" does not exist.\n\
-       ** Either the package is not unpacked in this directory, or\n\
-       ** an incorrect test_file is specified in debian/config.\n" && false)
-endef
-
-# This rm's the debian/tmp directory, and any other directories specified in 
-# tmpdirs
-define clean_tmp
-       -rm -rf debian/tmp >/dev/null 2>&1
-       @if [ -d debian/tmp -o -n "$(tmp_dirs)" ]; then \
-               if  [ "`whoami`" != root ]; then \
-                       echo -e "\n ** Enter root password to remove temporary directories $(tmp_dirs)"; \
-                       sudo rm -rf debian/tmp $(tmp_dirs); \
-               else \
-                       rm -rf debian/tmp $(tmp_dirs); \
-               fi; \
-       fi
-endef
+#      dh_testversion
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+       $(MAKE) PREFIX=debian/tmp install
+       dh_installdocs README SAMPLES
+       dh_installexamples
+       dh_installmenu
+#      dh_installinit
+       dh_installcron
+       dh_installmanpages
+#      dh_undocumented
+       dh_installchangelogs
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_suidregister
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+#      dh_makeshlibs
+       dh_md5sums
+       dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: clean setperms binary
+.PHONY: build clean binary-indep binary-arch binary
index 4ee6a720998f9368259a20e3010b2ba0ef1eb924..f12dd48a78d6743356356a58b11efa2841fdf307 100644 (file)
--- a/filters.6
+++ b/filters.6
@@ -1,56 +1,29 @@
 .TH FILTERS 6
 .SH NAME
-aust, b1ff, biffa, buck, censor, chef, cockney, drawl, fin, fudd, jethro jive ken, kraut, ky00te, mb, moo, newspeak, nyc, valspeak \- assorted text filters
+b1ff, eleet, chef, jethro, jibberish, kraut, upside-down \- assorted text filters
 .SH SYNOPSIS
 All the filters read input from stdin, change it, and write the filtered
 text to stdout.
 .SH "DESCRIPTION"
 All of these programs are filters to do all sorts of strange things to text.
 No racial or societal slurs are intended. For amusement only.
-.IP aust
-Australian
 .IP b1ff
 The B1FF filter
-.IP biffa
-??
-.IP buck
-The buckwheat filter
-.IP censor
-[CENSORED]
 .IP chef
 convert English on stdin to Mock Swedish on stdout
-.IP cockney
-Cockney English
-.IP drawl
-English to Texan translator
-.IP fin
-??
-.IP fudd
-Elmer Fudd
 .IP jethro
 Hillbilly text filter
-.IP jive
-Jive English
-.IP ken
-English into Cockney, featuring (dubious) rhyming
-slang for a lot of computer terminology.
+.IP jibberish
+Runs text through all the rest of the filters, to make really weird output.
+.IP eleet
+K3wl hacker slang
 .IP kraut
-German
-.IP mb
-Marc Barrett posting translator
-.IP moo
-The cow filter
-.IP newspeak
-As in 1984
-.IP nyc
-Brooklyn English
-.IP valspeak
-??
-.IP ky00te
-This program places a very cute (and familiar to FurryMuck
-fans) accent to any text file.
+Generates text with a German accent.
+.IP upside-down
+Flips text upside down. Stand on your head and squint to read the output.
 .SH "SEE ALSO"
-.IP /usr/doc/filters/SAMPLES
+.IP /usr/share/doc/filters/SAMPLES
 Lists samples of the output of all the filters.
 .SH AUTHOR
-The filters were collected from all over, by Joey Hess <joey@kite.ml.org>
+The filters were written by Joey Hess <joey@kitenet.net>, except jibberish,
+which is by Raul Miller <rdm@test.legislate.com>.
This page took 0.018993 seconds and 4 git commands to generate.