From 4f1ebf7b7771af3244da916be4c6cbb33deb92d0 Mon Sep 17 00:00:00 2001 From: joeyh Date: Sun, 19 Feb 2006 19:18:31 +0000 Subject: add --- Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1ffa16b --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +BINS=isutf8 +PERLSCRIPTS=sponge vidir vipe ts +MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 +CFLAGS=-O2 -g -Wall +CXXFLAGS=-O2 -g -Wall + +all: $(BINS) $(MANS) + +clean: + rm -f $(BINS) $(MANS) + +install: + mkdir -p $(PREFIX)/usr/bin + install -s $(BINS) $(PREFIX)/usr/bin + install $(PERLSCRIPTS) $(PREFIX)/usr/bin + + mkdir -p $(PREFIX)/usr/share/man/man1 + install $(MANS) $(PREFIX)/usr/share/man/man1 + +check: isutf8 + ./check-isutf8 + +isutf8.1: isutf8.docbook + docbook2x-man isutf8.docbook + +%.1: % + pod2man --center=" " --release="moreutils" $< > $@; -- cgit v1.2.3