From e4761fb901922156c1dc1549a231652ab8cb0097 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 30 Jul 2015 12:52:03 -0400 Subject: [PATCH] Remove SAMPLES file for deterministic builds. --- Makefile | 8 ++------ debian/changelog | 1 + debian/docs | 2 +- filters.6 | 3 --- makesample.sh | 11 ----------- 5 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 makesample.sh diff --git a/Makefile b/Makefile index 13d54a4..2e68610 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g endif -all: $(OTHER) $(BUILD) samples +all: $(OTHER) $(BUILD) install: $(BUILD) $(OTHER) install -d $(DESTDIR)/usr/games @@ -27,12 +27,8 @@ install: $(BUILD) $(OTHER) cd $(DESTDIR)/usr/share/man/man6 && \ $(foreach prog,$(BUILD) $(OTHER),ln -s filters.6 $(prog).6;) -samples: $(BUILD) $(OTHER) - -rm -f SAMPLES - PATH=.:$$PATH; export PATH; echo $(BUILD) $(OTHER) | xargs -n 1 sh makesample.sh - clean: - $(RM) -f core *.o *~ $(BUILD) SAMPLES + $(RM) -f core *.o *~ $(BUILD) cd ky00te.dir && make clean .SUFFIXES: .l diff --git a/debian/changelog b/debian/changelog index 5f707f0..a225a38 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ filters (2.54) UNRELEASED; urgency=medium Thanks, Marius Gavrilescu. * Fix NAME section of manpage. Closes: #775035 Thanks, Marius Gavrilescu. + * Remove SAMPLES file for deterministic builds. -- Joey Hess Thu, 30 Jul 2015 12:20:20 -0400 diff --git a/debian/docs b/debian/docs index cf662ef..3548b2a 100644 --- a/debian/docs +++ b/debian/docs @@ -1 +1 @@ -README SAMPLES ky00te.dir/README.ky00te +README ky00te.dir/README.ky00te diff --git a/filters.6 b/filters.6 index b75a393..674a585 100644 --- a/filters.6 +++ b/filters.6 @@ -80,9 +80,6 @@ many man pages. .IP upside\-down Flips text upside down. Stand on your head and squint to read the output. .SH "SEE ALSO" -.IP /usr/share/doc/filters/SAMPLES -Lists samples of the output of all the filters. -.PP Other filters: .TP .B pig diff --git a/makesample.sh b/makesample.sh deleted file mode 100644 index e7e5e16..0000000 --- a/makesample.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -e -chmod +x $1 -echo $1 >>SAMPLES -echo "-------------" >>SAMPLES -if [ "$1" != fanboy ]; then - printf "Here's how this filter sounds, in everyday use.\nNow is the time for all good men to come to the aid of their country." | ./$1 >>SAMPLES -else - printf "This filter has to be tried on real world text to be understood! Oh, and Ubuntu Rules!" >>SAMPLES -fi -echo "" >>SAMPLES -echo "" >>SAMPLES -- 2.39.2