-# Various dialect translators.
-
-LEX = flex
-
-BUILD = jethro kraut cockney jive nyc ken ky00te newspeak
-OTHER = eleet b1ff chef jibberish upside-down rasterman studly fudd
+LEX = flex
+BUILD = jethro kraut cockney jive nyc ken ky00te newspeak
+OTHER = eleet b1ff chef jibberish upside-down rasterman studly fudd
+CFLAGS = -O2
+INSTALL_PROGRAM = install
+
+# DEB_BUILD_OPTIONS suport, to control binary stripping.
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+INSTALL_PROGRAM += -s
+endif
+
+# And debug building.
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+CFLAGS += -g
+endif
all: $(OTHER) $(BUILD)
install: $(BUILD) $(OTHER)
install -d $(PREFIX)/usr/games
- install $(BUILD) $(OTHER) $(PREFIX)/usr/games/
+ $(INSTALL_PROGRAM) $(BUILD) $(PREFIX)/usr/games/
+ install $(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 && \
.l:
$(RM) $*.c
$(LEX) -t $< > $*.c
- $(CC) -O -o $@ $*.c -lfl -g
-# strip $@
+ $(CC) -O -o $@ $*.c -lfl $(CFLAGS)
$(RM) $*.c
.SUFFIXES: .dir
+filters (2.24) unstable; urgency=low
+
+ * debhelper v4
+ * DEB_BUILD_OPTS support
+
+ -- Joey Hess <joeyh@debian.org> Sat, 1 Jun 2002 16:45:49 -0400
+
filters (2.23) unstable; urgency=low
* Patch from Seneca <seneca-cunningham@rogers.com> to correct newspeak's
Source: filters
Section: games
Priority: optional
-Build-Depends: debhelper (>= 3), flex, bison | byacc | btyacc
+Build-Depends: debhelper (>= 3), flex, bison | byacc | btyacc, dpkg-dev (>= 1.9.0)
Maintainer: Joey Hess <joeyh@debian.org>
Standards-Version: 3.5.6.1
Architecture: any
Conflicts: filters-nonfree
Replaces: filters-nonfree
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc: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, and a wide
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This is the debhelper compatibility version to use.
-export DH_COMPAT=3
build: build-stamp
build-stamp:
-$(MAKE) -i clean
dh_clean
-# Build architecture-independent files here.
binary-indep: build
-# We have nothing to do by default.
-# Build architecture-dependent files here.
binary-arch: build
dh_testdir
dh_testroot